Add CupertinoSlider example (#93633)

This commit is contained in:
Taha Tesser
2022-02-14 22:10:13 +02:00
committed by GitHub
parent 79df99d182
commit 19a380ffe7
3 changed files with 122 additions and 0 deletions

View File

@@ -35,6 +35,12 @@ import 'thumb_painter.dart';
/// that use a slider will listen for the [onChanged] callback and rebuild the
/// slider with a new [value] to update the visual appearance of the slider.
///
/// {@tool dartpad}
/// This example shows how to show the current slider value as it changes.
///
/// ** See code in examples/api/lib/cupertino/slider/cupertino_slider.0.dart **
/// {@end-tool}
///
/// See also:
///
/// * <https://developer.apple.com/ios/human-interface-guidelines/controls/sliders/>