1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

remove some elements and add settings page

This commit is contained in:
Eric Windmill
2025-08-06 12:00:00 -04:00
parent d6138c9ab8
commit d43bd76e6c
7 changed files with 115 additions and 25 deletions

View File

@@ -18,7 +18,7 @@ class _SegmentedControlPageState extends State<SegmentedControlPage> {
),
child: Center(
child: CupertinoSegmentedControl<int>(
children: const <int, Widget>{
children: <int, Widget>{
0: Text('One'),
1: Text('Two'),
2: Text('Three'),