time_range_picker library

Enums

ActiveTime

Functions

durationToAngle(Duration duration) double
normalizeAngle(double radians) double
showTimeRangePicker({required BuildContext context, TimeOfDay? start, TimeOfDay? end, TimeRange? disabledTime, Color? disabledColor, PaintingStyle paintingStyle = PaintingStyle.stroke, void onStartChange(TimeOfDay)?, void onEndChange(TimeOfDay)?, Duration interval = const Duration(minutes: 5), String fromText = "From", String toText = "To", bool use24HourFormat = true, double padding = 36, double strokeWidth = 12, Color? strokeColor, double handlerRadius = 12, Color? handlerColor, Color? selectedColor, Color? backgroundColor, Widget? backgroundWidget, int ticks = 0, double ticksOffset = 0, double? ticksLength, double ticksWidth = 1, Color ticksColor = Colors.white, bool snap = false, List<ClockLabel>? labels, double labelOffset = 20, bool rotateLabels = true, bool autoAdjustLabels = true, TextStyle? labelStyle, TextStyle? timeTextStyle, TextStyle? activeTimeTextStyle, bool hideTimes = false, bool hideButtons = false, double clockRotation = 0, Duration? maxDuration, Duration minDuration = const Duration(minutes: 30), TransitionBuilder? builder, bool useRootNavigator = true, RouteSettings? routeSettings, bool barrierDismissible = true}) → dynamic
signedAngle(double startAngle, double targetAngle) double
timeToAngle(TimeOfDay time, double offsetRad) double