update image resolution and search bar cursor color

This commit is contained in:
tzw
2025-02-10 11:23:38 +06:30
parent fb6a9f691a
commit 9fdc20a61b
13 changed files with 246 additions and 203 deletions

View File

@@ -34,20 +34,20 @@ class UserSearchDelegate extends SearchDelegate<User> {
ThemeData appBarTheme(BuildContext context) {
final ThemeData theme = Theme.of(context);
return theme.copyWith(
appBarTheme: AppBarTheme(color: primaryColor),
iconButtonTheme: IconButtonThemeData(
style: ButtonStyle(
iconColor: WidgetStateProperty.all<Color>(Colors.white))),
inputDecorationTheme: InputDecorationTheme(
border: InputBorder.none,
hintStyle: TextStyle(color: Colors.grey, fontSize: 14)),
textTheme: TextTheme(
displayLarge: TextStyle(
color: theme.primaryTextTheme.displayLarge?.color,
fontSize: 16,
backgroundColor: primaryColor)),
primaryColor: primaryColor,
);
textSelectionTheme: TextSelectionThemeData(cursorColor: Colors.grey),
appBarTheme: AppBarTheme(color: primaryColor),
iconButtonTheme: IconButtonThemeData(
style: ButtonStyle(
iconColor: WidgetStateProperty.all<Color>(Colors.white))),
inputDecorationTheme: InputDecorationTheme(
border: InputBorder.none,
hintStyle: TextStyle(color: Colors.grey, fontSize: 14)),
textTheme: TextTheme(
displayLarge: TextStyle(
color: theme.primaryTextTheme.displayLarge?.color,
fontSize: 16,
backgroundColor: primaryColor)),
primaryColor: primaryColor);
}
@override