mirror of
https://github.com/flutter/samples.git
synced 2026-07-16 22:12:42 +00:00
Remove code_sharing and place_tracker, cleanup repo (#2831)
Fixes #2818, #2523, #2528
This commit is contained in:
@@ -6,15 +6,11 @@ class DatePickerPage extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return CupertinoPageScaffold(
|
||||
navigationBar: const CupertinoNavigationBar(
|
||||
middle: Text('Date Picker'),
|
||||
),
|
||||
navigationBar: const CupertinoNavigationBar(middle: Text('Date Picker')),
|
||||
child: Center(
|
||||
child: SizedBox(
|
||||
height: 200,
|
||||
child: CupertinoDatePicker(
|
||||
onDateTimeChanged: (DateTime newDate) {},
|
||||
),
|
||||
child: CupertinoDatePicker(onDateTimeChanged: (DateTime newDate) {}),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user