small ui improvements
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ class _TabSheetHeader extends HookConsumerWidget {
|
|||||||
// enableIMEPersonalizedLearning: !incognitoEnabled,
|
// enableIMEPersonalizedLearning: !incognitoEnabled,
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
// border: InputBorder.none,
|
// border: InputBorder.none,
|
||||||
prefixIcon: const Icon(MdiIcons.tabSearch),
|
prefixIcon: const Icon(MdiIcons.tabSearch, size: 18),
|
||||||
hintText: 'Search inside tabs...',
|
hintText: 'Search inside tabs...',
|
||||||
floatingLabelBehavior: FloatingLabelBehavior.always,
|
floatingLabelBehavior: FloatingLabelBehavior.always,
|
||||||
suffixIcon: Row(
|
suffixIcon: Row(
|
||||||
|
|||||||
@@ -9,7 +9,14 @@ class _BadgeWrapper extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
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