Add CupertinoSwitch widget of the week video (#165093)
This commit is contained in:
@@ -59,6 +59,8 @@ const CupertinoDynamicColor _kOffLabelColor = CupertinoDynamicColor.withBrightne
|
||||
///
|
||||
/// Used to toggle the on/off state of a single setting.
|
||||
///
|
||||
/// {@youtube 560 315 https://www.youtube.com/watch?v=24tg_N4sdMQ}
|
||||
///
|
||||
/// The switch itself does not maintain its toggle state. Instead, when the
|
||||
/// toggle state of the switch changes, the widget calls the [onChanged]
|
||||
/// callback. Most widgets that use a switch will listen for the [onChanged]
|
||||
|
||||
Reference in New Issue
Block a user