Add example for CupertinoCheckbox (#151779)

This commit is contained in:
Victor Sanni
2024-07-16 09:54:02 -07:00
committed by GitHub
parent ba57fa3821
commit cb4ba2fddc
3 changed files with 102 additions and 0 deletions

View File

@@ -41,6 +41,12 @@ const double _kCupertinoFocusColorSaturation = 0.835;
/// ([CupertinoSwitch] in Flutter) instead, or to find a creative custom
/// solution.
///
/// {@tool dartpad}
/// This example shows a toggleable [CupertinoCheckbox].
///
/// ** See code in examples/api/lib/cupertino/checkbox/cupertino_checkbox.0.dart **
/// {@end-tool}
///
/// See also:
///
/// * [Checkbox], the Material Design equivalent.