menu
flutter_switch_clipper package
documentation
flutter_switch_clipper.dart
SwitchCipper
onSelect property
onSelect property
dark_mode
light_mode
onSelect
property
(
bool
? Function
(
bool
result
)
?)
onSelect
final
点击回调
result
回调值
函数返回值将控制此次点击是否生效
Implementation
final bool? Function(bool result)? onSelect;
flutter_switch_clipper package
documentation
flutter_switch_clipper
SwitchCipper
onSelect property
SwitchCipper class