onChanged property

ValueChanged<bool> onChanged
final

A handler function that is passed the toggle value when the widget is tapped.

Implementation

final ValueChanged<bool> onChanged;