custom_time_picker_erfan library
A customizable time picker library for Flutter applications.
This library provides a highly customizable time picker that supports both scroll wheels and manual text input to select a valid time. It also restricts future times if the selected date is today.
The main components are:
- CustomTimePickerErfan - The widget that displays the time picker
- showTimePickerErfan - A function to show the time picker as a dialog
Classes
- CustomTimePickerErfan
- A customizable time picker widget for Flutter applications.
Functions
-
showTimePickerErfan(
{required BuildContext context, required TimeOfDay initialTime, DateTime? selectedDate, ValueChanged< DateTime> ? onDateChanged, Color primaryColor = TimePickerModel.defaultPrimaryColor, Color backgroundColor = TimePickerModel.defaultBackgroundColor, Color textColor = TimePickerModel.defaultTextColor, Color? errorColor, Color? disabledColor, String? confirmText, String? cancelText, String? chooseTimeText}) → Future<TimeOfDay?> - Shows a customizable time picker dialog and returns the selected time.