mirror of
https://github.com/flutter/samples.git
synced 2026-07-13 04:21:25 +00:00
Remove code_sharing and place_tracker, cleanup repo (#2831)
Fixes #2818, #2523, #2528
This commit is contained in:
@@ -13,9 +13,7 @@ class _SwitchPageState extends State<SwitchPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return CupertinoPageScaffold(
|
||||
navigationBar: const CupertinoNavigationBar(
|
||||
middle: Text('Switch'),
|
||||
),
|
||||
navigationBar: const CupertinoNavigationBar(middle: Text('Switch')),
|
||||
child: Center(
|
||||
child: CupertinoSwitch(
|
||||
value: _value,
|
||||
|
||||
Reference in New Issue
Block a user