showTP method
Future<TimeOfDay?>
showTP({
- required TimeOfDay initialTime,
- TransitionBuilder? builder,
- RouteSettings? routeSettings,
Shows a dialog containing a material design time picker.
Equivalent to material.showTimePicker.
Implementation
Future<material.TimeOfDay?> showTP({
required material.TimeOfDay initialTime,
material.TransitionBuilder? builder,
bool useRootNavigator: true,
material.RouteSettings? routeSettings,
}) {
return material.showTimePicker(
context: this,
initialTime: initialTime,
builder: builder,
useRootNavigator: useRootNavigator,
routeSettings: routeSettings,
);
}