isFocused property
bool
get
isFocused
Getter for whether this class considers WidgetState.focused to be active.
Implementation
bool get isFocused => materialStates.contains(WidgetState.focused);
Getter for whether this class considers WidgetState.focused to be active.
bool get isFocused => materialStates.contains(WidgetState.focused);