change default badge border radius
This commit is contained in:
parent
175248e06e
commit
1d7a5fbf0a
|
@ -517,7 +517,6 @@ class _Badge extends StatelessWidget {
|
|||
style:
|
||||
TextStyle(color: textColorBasedOnBackground(theme.accentColor)),
|
||||
),
|
||||
borderRadius: const BorderRadius.all(Radius.circular(10)),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -436,7 +436,6 @@ class _Badge extends StatelessWidget {
|
|||
style:
|
||||
TextStyle(color: textColorBasedOnBackground(theme.accentColor)),
|
||||
),
|
||||
// TODO: change border radius
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@ class Badge extends StatelessWidget {
|
|||
|
||||
Badge({
|
||||
@required this.child,
|
||||
this.borderRadius = const BorderRadius.all(Radius.circular(5)),
|
||||
this.borderRadius = const BorderRadius.all(Radius.circular(10)),
|
||||
});
|
||||
|
||||
@override
|
||||
|
|
Loading…
Reference in New Issue