Add missing links to examples that aren't linked anywhere (#130422)

## Description

This adds links to examples that were not linked anywhere.

## Related Issues
 - Fixes #129956

## Tests
 - Documentation only change
This commit is contained in:
Greg Spencer
2023-07-12 13:08:05 -07:00
committed by GitHub
parent d75735eea6
commit 3d67ca4311
14 changed files with 78 additions and 14 deletions

View File

@@ -16,7 +16,7 @@ class SwitchApp extends StatelessWidget {
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.light(useMaterial3: true).copyWith(
// Use the ambient [CupetinoThemeData] to style all widgets which would
// Use the ambient CupertinoThemeData to style all widgets which would
// otherwise use iOS defaults.
cupertinoOverrideTheme: const CupertinoThemeData(applyThemeToAll: true),
),
@@ -54,7 +54,7 @@ class _SwitchExampleState extends State<SwitchExample> {
},
),
Switch.adaptive(
// Don't use the ambient [CupetinoThemeData] to style this switch.
// Don't use the ambient CupertinoThemeData to style this switch.
applyCupertinoTheme: false,
value: light,
onChanged: (bool value) {