isFocused property

bool get isFocused

Getter for whether this class considers WidgetState.focused to be active.

Implementation

bool get isFocused => materialStates.contains(WidgetState.focused);