@@ -409,37 +409,37 @@ class _GFAppBarState extends State<GFAppBar> {
409409 }
410410
411411 searchBar = TextField (
412- cursorColor: widget.searchBarColorTheme,
413- style: widget.searchTextStyle,
414- decoration: new InputDecoration (
415- prefixIcon: new Icon (
416- Icons .search,
412+ cursorColor: widget.searchBarColorTheme,
413+ style: widget.searchTextStyle,
414+ decoration: new InputDecoration (
415+ prefixIcon: new Icon (
416+ Icons .search,
417+ color: widget.searchBarColorTheme,
418+ size: 18.0 ,
419+ ),
420+ suffixIcon: GFIconButton (
421+ icon: Icon (
422+ Icons .close,
417423 color: widget.searchBarColorTheme,
418- size: 18.0 ,
419- ),
420- suffixIcon: GFIconButton (
421- icon: Icon (
422- Icons .close,
423- color: widget.searchBarColorTheme,
424- size: 20.0 ,
425- ),
426- type: GFButtonType .transparent,
427- onPressed: () {
428- setState (() {
429- showSearchBar = ! showSearchBar;
430- });
431- },
432- ),
433- hintText: widget.searchHintText,
434- hintStyle: widget.searchHintStyle,
435- focusedBorder: UnderlineInputBorder (
436- borderSide: BorderSide (width: 1 , color: widget.searchBarColorTheme),
424+ size: 20.0 ,
437425 ),
426+ type: GFButtonType .transparent,
427+ onPressed: () {
428+ setState (() {
429+ showSearchBar = ! showSearchBar;
430+ });
431+ },
432+ ),
433+ hintText: widget.searchHintText,
434+ hintStyle: widget.searchHintStyle,
435+ focusedBorder: UnderlineInputBorder (
436+ borderSide: BorderSide (width: 1 , color: widget.searchBarColorTheme),
438437 ),
439- onTap: widget.onTap,
440- onChanged: widget.onChanged,
441- controller: widget.searchController,
442- onSubmitted: widget.onSubmitted,
438+ ),
439+ onTap: widget.onTap,
440+ onChanged: widget.onChanged,
441+ controller: widget.searchController,
442+ onSubmitted: widget.onSubmitted,
443443 );
444444
445445 if (! showSearchBar) {
0 commit comments