1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-20 05:57:33 +00:00

Updated Veggieseasons to use CupertinoSearchTextField (#630)

This commit is contained in:
Adarsh kumar singh
2021-01-31 12:14:43 +05:30
committed by GitHub
parent c8d7b3c104
commit d16d35e0ac
3 changed files with 1 additions and 82 deletions

View File

@@ -120,20 +120,12 @@ abstract class Styles {
? CupertinoColors.lightBackgroundGray
: null;
static Color searchBackground(CupertinoThemeData themeData) =>
themeData.barBackgroundColor;
static const frostedBackground = Color(0xccf8f8f8);
static const closeButtonUnpressed = Color(0xff101010);
static const closeButtonPressed = Color(0xff808080);
static TextStyle searchText(CupertinoThemeData themeData) =>
themeData.textTheme.textStyle.copyWith(
fontSize: 14,
);
static TextStyle settingsItemSubtitleText(CupertinoThemeData themeData) =>
themeData.textTheme.textStyle.copyWith(
fontSize: 12,