focused property

bool get focused

Whether the widget is in a focused state.

Implementation

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