I need to implement time picker as a widget . I don't need it in modal or dialogue . I need it to be shown in container .any resources or guidlines are appreciated.
You can get something similar using a CupertinoTimePicker
.
return Scaffold(
body: Center(
child: Container(
height: 200,
child: Card(
elevation: 4,
child: Row(
children: <Widget>[
SizedBox(
width: 100,
child: Text("Select a time"),
),
Expanded(
child: CupertinoTimerPicker(
mode: CupertinoTimerPickerMode.hm,
onTimerDurationChanged: (data) {},
),
),
],
),
),
),
),
);
result:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With