onChanged property
The callback on the toggle state change. If not provided, the toggle will be disabled.
Implementation
final ValueChanged<bool>? onChanged;
The callback on the toggle state change. If not provided, the toggle will be disabled.
final ValueChanged<bool>? onChanged;