File tree 1 file changed +16
-14
lines changed
1 file changed +16
-14
lines changed Original file line number Diff line number Diff line change @@ -112,21 +112,23 @@ class _HomePageState extends State<HomePage> {
112
112
if (storageWidget.searchVisible)
113
113
Card (
114
114
margin: EdgeInsets .symmetric (horizontal: 20 , vertical: 10 ),
115
- child: Padding (
116
- padding: const EdgeInsets .symmetric (horizontal: 6.0 ),
117
- child: TextField (
118
- autofocus: true ,
119
- onChanged: (value) {
120
- storageWidget.search (value);
121
- },
122
- controller: storageWidget.searchController,
123
- decoration: InputDecoration (
124
- border: InputBorder .none,
125
- hintText: 'Search' ,
126
- prefixIcon: Icon (Icons .search_rounded)
127
- ),
128
-
115
+ child: TextField (
116
+ autofocus: true ,
117
+ onChanged: (value) {
118
+ storageWidget.search (value);
119
+ },
120
+ controller: storageWidget.searchController,
121
+ decoration: InputDecoration (
122
+ hintText: 'Search' ,
123
+ prefixIcon: Icon (Icons .search_rounded),
124
+ fillColor: Colors .grey[300 ],
125
+ filled: true ,
126
+ border: OutlineInputBorder (
127
+ borderSide: BorderSide .none,
128
+ borderRadius: BorderRadius .circular (12 )
129
+ )
129
130
),
131
+
130
132
),
131
133
),
132
134
Expanded (
You can’t perform that action at this time.
0 commit comments