Ich möchte iOS Journal App Style Datum Picker verwenden, aber ich kann keine Funktion verwenden, um ein solches Widget anzuzeigen.void showdatePicker(BuildContext context) {
< /code>
showCupertinoSheet (
Kontext: Kontext,
PageBuilder: (ctx) => Container (
Breite: double.infinity,
Dekoration: Boxdekor (
const farbe Borderradius.Circular (20),
),
Kind: Spalte (
Kinder: [
row (
Kinder: [
cupertinobutton (
Onpressive: () {
navigator.of(context). /> Stil: themen.of (context) .textTheMe.titlesMall! .CopyWith (
Farbe: Farbe Themen.of (context) .textTheMe.titlemedium! CupertinoButton(
onPressed: () {
Navigator.of(context).pop();
},
child: Text(
'Done',
style: Theme.of(context).textTheme.titleSmall!.copyWith(
color: Color.fromARGB(255, 32, 95, 255),
),
),
),
],
),
const SizedBox(height: 20),
Text(
'SELECT CUSTOM DATE',
style: Theme.of(
context,
).textTheme.labelMedium!.copyWith(color: Colors.white),
),
//datePicker
],
),
),
< /code>
);
} < /p>
So zeigen Sie iOS wie DatePicker in Flutter wie die in Journal App von Apple gezeigt ⇐ IOS
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Wicket Datepicker-Zeitzone „ui-datepicker-today“ und „ui-datepicker-current-day“
by Anonymous » » in CSS - 0 Replies
- 37 Views
-
Last post by Anonymous
-