upTimePicker static method
dynamic
upTimePicker({
- required BuildContext context,
- required TimeOfDay initialTime,
- UpStyle? style,
- UpColorType? colorType,
Implementation
static upTimePicker(
{required BuildContext context,
required TimeOfDay initialTime,
UpStyle? style,
UpColorType? colorType}) async {
return showTimePicker(
context: context,
initialTime: initialTime,
builder: (BuildContext context, Widget? child) {
return Theme(
data: UpStyle.getTimePickerThemeData(context,
style: style, colorType: colorType),
child: child ?? const Text(""),
);
},
);
}