onChanged property

ValueChanged<bool>? onChanged
final

The callback on the toggle state change. If not provided, the toggle will be disabled.

Implementation

final ValueChanged<bool>? onChanged;