I am using CupertinoDatePicker to allow user to select specific time in the current day, but i want to show text beside the selected hour and selected minute, is there any way to do this ?
This is what i am expecting
This is what i got
CupertinoDatePicker(
mode: CupertinoDatePickerMode.time,
use24hFormat: true,
onDateTimeChanged: (value){
setState(() {
print(value);
});
},
)


You are looking for the
CupertinoTimerPickerwidget.It comes up with the default labels.
example:
Code for the same:
But, If you need the custom label as in
h,m, andsin your case, you've to make a custom Cupertino time picker using existing code (from Flutter SDK).