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),
),
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: