onUpdateChange property

Future<bool> Function()? onUpdateChange
final

使用 onUpdating Change 来异步控制开关状态 如果使用了 onUpdateChange,onChange 将被忽略

Implementation

final Future<bool> Function()? onUpdateChange;