We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ListTile
CupertinoListTile
1 parent 7abeeb1 commit 6f19403Copy full SHA for 6f19403
1 file changed
packages/flutter/lib/src/cupertino/switch.dart
@@ -80,13 +80,13 @@ const CupertinoDynamicColor _kOffLabelColor = CupertinoDynamicColor.withBrightne
80
///
81
/// {@tool snippet}
82
83
-/// This sample shows how to use a [CupertinoSwitch] in a [ListTile]. The
84
-/// [MergeSemantics] is used to turn the entire [ListTile] into a single item
+/// This sample shows how to use a [CupertinoSwitch] in a [CupertinoListTile]. The
+/// [MergeSemantics] is used to turn the entire [CupertinoListTile] into a single item
85
/// for accessibility tools.
86
87
/// ```dart
88
/// MergeSemantics(
89
-/// child: ListTile(
+/// child: CupertinoListTile(
90
/// title: const Text('Lights'),
91
/// trailing: CupertinoSwitch(
92
/// value: _lights,
0 commit comments