disabled property

bool get disabled

Whether the widget is in a disabled state.

Implementation

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