File tree Expand file tree Collapse file tree 3 files changed +1
-82
lines changed
experimental/veggieseasons/lib Expand file tree Collapse file tree 3 files changed +1
-82
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import 'package:flutter/widgets.dart';
88import 'package:provider/provider.dart' ;
99import 'package:veggieseasons/data/app_state.dart' ;
1010import 'package:veggieseasons/data/veggie.dart' ;
11- import 'package:veggieseasons/widgets/search_bar.dart' ;
1211import 'package:veggieseasons/widgets/veggie_headline.dart' ;
1312
1413class SearchScreen extends StatefulWidget {
@@ -49,7 +48,7 @@ class _SearchScreenState extends State<SearchScreen> with RestorationMixin {
4948 Widget _createSearchBox () {
5049 return Padding (
5150 padding: const EdgeInsets .all (8 ),
52- child: SearchBar (
51+ child: CupertinoSearchTextField (
5352 controller: controller.value,
5453 focusNode: focusNode,
5554 ),
Original file line number Diff line number Diff line change @@ -120,20 +120,12 @@ abstract class Styles {
120120 ? CupertinoColors .lightBackgroundGray
121121 : null ;
122122
123- static Color searchBackground (CupertinoThemeData themeData) =>
124- themeData.barBackgroundColor;
125-
126123 static const frostedBackground = Color (0xccf8f8f8 );
127124
128125 static const closeButtonUnpressed = Color (0xff101010 );
129126
130127 static const closeButtonPressed = Color (0xff808080 );
131128
132- static TextStyle searchText (CupertinoThemeData themeData) =>
133- themeData.textTheme.textStyle.copyWith (
134- fontSize: 14 ,
135- );
136-
137129 static TextStyle settingsItemSubtitleText (CupertinoThemeData themeData) =>
138130 themeData.textTheme.textStyle.copyWith (
139131 fontSize: 12 ,
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments