searchBarHasFocus property

ValueNotifier<bool> searchBarHasFocus
final

true if appBar is collapsed else false

Implementation

final ValueNotifier<bool> searchBarHasFocus = ValueNotifier(false);