hasText property

ValueNotifier<bool> hasText

The ValueNotifier hasText for the TextField in search app bar.

Can be changed by parameter: customHasText = ValueNotifier<bool>(false)

Implementation

ValueNotifier<bool> get hasText =>
    customHasText ??
    _hasTextGlobalFallBack;