4inka / flutter_easy_search_bar

Other
13 stars 22 forks source link

using the native appbar look #7

Closed 0xpr03 closed 1 year ago

0xpr03 commented 1 year ago

The native appbar uses a white color for text and icons for my theme. Now if I use the EasySearchBar, I can't get this to work in a way that I don't a) hardcode the color and b) the back-button of the search doesn't get the wrong color:

EasySearchBar(
          title: Text(_excercise.name),
          foregroundColor: Colors.white, // fixes at least the normal title, but not the back button in search
          searchHintText: 'attribute name...',
          onSearch: (value) => setState(() => searchText = value),
        ),

grafik grafik

4inka commented 1 year ago

Hello @0xpr03

I have published a new package version and worked on this. Please check again to see if it's ok.

Have a nice day

0xpr03 commented 1 year ago

Hey thanks for fixing this, didn't have a time to test this out until now.