onChanged property

ValueChanged<bool>? onChanged
final

Called when the customer toggles the cushion on or off. When null, no Switch is shown.

Implementation

final ValueChanged<bool>? onChanged;