checked property Null safety
final
If non-null, indicates that this subtree represents a checkbox or similar widget with a "checked" state, and what its current state is.
This is mutually exclusive with toggled.
Implementation
final bool? checked;