small ui improvements
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ class _TabSheetHeader extends HookConsumerWidget {
|
||||
// enableIMEPersonalizedLearning: !incognitoEnabled,
|
||||
decoration: InputDecoration(
|
||||
// border: InputBorder.none,
|
||||
prefixIcon: const Icon(MdiIcons.tabSearch),
|
||||
prefixIcon: const Icon(MdiIcons.tabSearch, size: 18),
|
||||
hintText: 'Search inside tabs...',
|
||||
floatingLabelBehavior: FloatingLabelBehavior.always,
|
||||
suffixIcon: Row(
|
||||
|
||||
@@ -9,7 +9,14 @@ class _BadgeWrapper extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return count != null ? Badge.count(count: count!, child: child) : child;
|
||||
return count != null
|
||||
? Badge.count(
|
||||
count: count!,
|
||||
backgroundColor: Theme.of(context).colorScheme.primaryContainer,
|
||||
textColor: Theme.of(context).colorScheme.onPrimaryContainer,
|
||||
child: child,
|
||||
)
|
||||
: child;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user