enabled property

bool enabled
final

Whether the component should accept user input.

When false, the component should display in a disabled state and ignore user interactions.

Implementation

final bool enabled;