enabled property

bool enabled
final

Whether or not this widget is currently interactive.

When false, the widget will ignore taps and appear dimmed.

Defaults to true.

Implementation

final bool enabled;