toggled property Null safety

bool? toggled
final

If non-null, indicates that this subtree represents a toggle switch or similar widget with an "on" state, and what its current state is.

This is mutually exclusive with checked.

Implementation

final bool? toggled