onDisable property

VoidCallback onDisable
final

A VoidCallback to run when the switch is disabled.

Implementation

final VoidCallback onDisable;