File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed
experimental/veggieseasons/lib/widgets Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change @@ -36,29 +36,13 @@ class SearchBar extends StatelessWidget {
3636 ),
3737 child: Row (
3838 children: [
39- ExcludeSemantics (
40- child: Icon (
41- CupertinoIcons .search,
42- color: Styles .searchIconColor,
43- ),
44- ),
39+ /// Updated custom search field to CupertinoSearchTextField
4540 Expanded (
46- child: CupertinoTextField (
41+ child: CupertinoSearchTextField (
4742 controller: controller,
4843 focusNode: focusNode,
4944 decoration: null ,
5045 style: Styles .searchText (themeData),
51- cursorColor: Styles .searchCursorColor,
52- ),
53- ),
54- GestureDetector (
55- onTap: () {
56- controller.clear ();
57- },
58- child: Icon (
59- CupertinoIcons .clear_thick_circled,
60- semanticLabel: 'Clear search terms' ,
61- color: Styles .searchIconColor,
6246 ),
6347 ),
6448 ],
You can’t perform that action at this time.
0 commit comments