onChanged property

ValueChanged<bool> onChanged
getter/setter pair

当开关状态发生改变时,会回调该函数。

This function will be called back when the switch state changes.

Implementation

ValueChanged<bool> onChanged;