enabled property

bool? enabled
final

Whether the checkbox is interactive and enabled.

When false, the checkbox becomes visually disabled and non-interactive. When null, the enabled state is automatically determined from the presence of an onChanged callback.

Implementation

final bool? enabled;