progressive_time_picker library Null safety

Classes

DisabledRange
PickedTime
TimePicker
Returns a widget which displays a circle to be used as a picker.
TimePickerClockNumberDecoration
TimePickerDecoration
used to decorate the TimePicker widget.
TimePickerHandlerDecoration
used to decorate our init or end handler of time picker
TimePickerSectorDecoration
TimePickerSweepDecoration
used to decorate our sweep part or a part between our init and end point

Extensions

ClockIncrementTimeFormatExtension
ClockTimeFormatExtension

Functions

coordinatesToRadians(Offset center, Offset coords) double
formatIntervalTime({required PickedTime init, required PickedTime end, ClockTimeFormat clockTimeFormat = ClockTimeFormat.TWENTYFOURHOURS, ClockIncrementTimeFormat clockIncrementTimeFormat = ClockIncrementTimeFormat.FIVEMIN}) PickedTime
formatTime({required int time, required ClockIncrementTimeFormat incrementTimeFormat}) PickedTime
getClockTimeFormatDivision(ClockTimeFormat clockTimeFormat, ClockIncrementTimeFormat incrementTimeFormat) int
getSectionsCoordinatesInCircle(Offset center, double radius, int sections) List<Offset>
getSweepAngle(double init, double end) double
isAngleInsideRadiansSelection(double angle, double start, double sweep, ClockIncrementTimeFormat clockIncrementTimeFormat) bool
isPointAlongCircle(Offset point, Offset center, double radius) bool
isPointInsideCircle(Offset point, Offset center, double rradius) bool
percentageToRadians(double percentage) double
percentageToValue(double percentage, int intervals) int
pickedTimeToDivision({required PickedTime pickedTime, required ClockTimeFormat clockTimeFormat, required ClockIncrementTimeFormat clockIncrementTimeFormat}) int
radiansToCoordinates(Offset center, double radians, double radius) Offset
radiansToPercentage(double radians) double
validateSleepGoal({required PickedTime inTime, required PickedTime outTime, required double sleepGoal, ClockTimeFormat clockTimeFormat = ClockTimeFormat.TWENTYFOURHOURS, ClockIncrementTimeFormat clockIncrementTimeFormat = ClockIncrementTimeFormat.FIVEMIN}) bool
valueToPercentage(int time, int intervals) double

Enums

ClockIncrementTimeFormat
ClockTimeFormat