enabled property Null safety
final
If non-null, indicates that this subtree represents something that can be in an enabled or disabled state.
For example, a button that a user can currently interact with would set this field to true. A button that currently does not respond to user interactions would set this field to false.
Implementation
final bool? enabled;