search update
This commit is contained in:
@@ -31,13 +31,16 @@ class PartSearchDelegate extends SearchDelegate<Carton> {
|
||||
ThemeData appBarTheme(BuildContext context) {
|
||||
final ThemeData theme = Theme.of(context);
|
||||
return theme.copyWith(
|
||||
appBarTheme: AppBarTheme(color: primaryColor),
|
||||
inputDecorationTheme: InputDecorationTheme(
|
||||
border: InputBorder.none,
|
||||
hintStyle: TextStyle(
|
||||
color: theme.primaryTextTheme.caption!.color, fontSize: 14)),
|
||||
textTheme: theme.textTheme.copyWith(
|
||||
title: theme.textTheme.title!.copyWith(
|
||||
color: theme.primaryTextTheme.title!.color, fontSize: 16)),
|
||||
color: theme.primaryTextTheme.caption?.color, fontSize: 14)),
|
||||
textTheme: TextTheme(
|
||||
headline1: TextStyle(
|
||||
color: theme.primaryTextTheme.headline1?.color,
|
||||
fontSize: 16,
|
||||
backgroundColor: primaryColor)),
|
||||
primaryColor: primaryColor,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user