time_ring_picker 0.0.2 copy "time_ring_picker: ^0.0.2" to clipboard
time_ring_picker: ^0.0.2 copied to clipboard

A highly customizable circular clock-style time range picker for selecting start/end times (e.g. sleep schedules) with overnight range support.

0.0.2 #

Fixed

  • Dial numbers not matching the selected time.
  • Gradient colors showing an ugly seam on large selections.
  • README screenshot not showing up on pub.flutter-io.cn.

Added

  • Clearer AM/PM: a tint per half of the day, plus a small AM/PM label on each number.
  • visibleHalf: show a simple 12-hour AM or PM clock instead of the full 24-hour ring.
  • backgroundGradientColors: make the whole ring one gradient, not just the selected part.
  • New "Day & Night style" example.

0.0.1 #

Initial release.

  • TimeRingPicker widget — a circular clock dial with two draggable handles for picking a start and end time.
  • Overnight ranges just work, e.g. 9:00 PM6:00 AM shows a 9h duration, no manual date math needed.
  • 12-hour or 24-hour dial, with an AM/PM tag on each handle when it's ambiguous.
  • Snap dragging to a minute interval, and set a minimum gap between the two handles.
  • Fully styleable: colors, gradient arc, handle size/icons, text styles, tick marks, number placement, drop shadows, and a glowing arc effect.
  • TimeRingController for reading or setting the selection from your own code, not just by dragging.
  • onDragStart, onTimeChanged, and onDragEnd callbacks.
  • Works with screen readers and switch control out of the box.
  • No dependencies beyond the Flutter SDK — runs on mobile, web, and desktop.
1
likes
160
points
113
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdashstack.tech

Weekly Downloads

A highly customizable circular clock-style time range picker for selecting start/end times (e.g. sleep schedules) with overnight range support.

Repository (GitHub)
View/report issues

Topics

#picker #clock #time #slider #ui

License

MIT (license)

Dependencies

flutter

More

Packages that depend on time_ring_picker