time_range_sheet_widget library

Classes

TimeRangeData
Data class representing a time range with start and end times
TimeRangeSheet
A highly customizable time range picker bottom sheet widget
TimeRangeSheetStyle
Comprehensive style configuration for TimeRangeSheet widget

Functions

showTimeRangeSheet({required BuildContext context, TimeOfDay? initialStartTime, TimeOfDay? initialEndTime, TimeRangeSheetStyle? style, bool allowInvalidRange = false, bool customValidator(TimeOfDay start, TimeOfDay end)?, bool enabled = true, bool isScrollControlled = true, bool enableDrag = true, bool isDismissible = true, bool showStartTimeInitially = true}) Future<TimeRangeData?>
Helper function to show the TimeRangeSheet in a modal bottom sheet