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:
committed by
GitHub
parent
c8d7b3c104
commit
d16d35e0ac
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user