wheel_choice 1.2.0 copy "wheel_choice: ^1.2.0" to clipboard
wheel_choice: ^1.2.0 copied to clipboard

Wheel-shaped picker widget for Flutter. Scroll and select items with customizable header, overlays, magnifier and 3D effects, disabled items, looping, and custom item builders.

1.2.0 #

  • Experimental: keyboard navigation (arrow up/down, PgUp/PgDn, Home/End) and haptic feedback on selection. Requires focus for keyboard; haptics only on supported devices. APIs may evolve.
  • Reactive: added examples and docs for valueListenable and indexListenable to react without wiring onChanged.
  • Safety: defer onChanged from scroll to next frame to avoid setState during build.
  • Default ctor: lazily instantiates the internal controller on first use to avoid unnecessary creation when an external controller is provided later.
  • Docs: expanded README (reactive listeners, keyboard/haptics notes) and DartDoc (constructors, props, experimental flags).

1.1.0 #

  • New: WheelController<T> for programmatic control (set/jump/animate by value or index), plus valueListenable and indexListenable for reactive integrations.
  • Behavior: Animated moves are disabled-aware (snap to nearest enabled); direct jumps can land on disabled by design.
  • Widget: Added physics and clipBehavior props; improved expanded sizing (derives itemExtent from viewport and enforces odd itemVisible).
  • UX: Better month/day and time pickers in example; mouse-drag scrolling in example; docs expanded with constructors and reactive listeners.
  • Internal: Ownership model for controller (WheelChoice(...) owns and disposes; WheelChoice.raw(...) uses external controller).

1.0.1 #

  • Fix: formatting to satisfy dart format/lints.

1.0.0 #

  • Initial stable release.
  • Core widgets and APIs:
    • WheelChoice: customizable wheel/slot-style picker.
    • WheelHeader: optional header row with styling.
    • WheelItem.delegate: default item renderer utilities.
    • WheelOverlay: outlined and filled selection overlays.
    • WheelEffect: 3D look, magnifier, and perspective settings.
  • Example app:
    • Includes basic day picker, numeric minutes picker (multiples of 5), and a custom layout demo.
    • Desktop/web friendly: mouse drag scrolling enabled via MaterialApp.scrollBehavior.
  • Metadata:
    • Package description updated (English).
6
likes
160
points
19
downloads

Publisher

verified publisherwidgetarian.com

Weekly Downloads

Wheel-shaped picker widget for Flutter. Scroll and select items with customizable header, overlays, magnifier and 3D effects, disabled items, looping, and custom item builders.

Homepage
Repository (GitHub)
View/report issues

Topics

#wheel #scroll #choice #picker

Documentation

API reference

Funding

Consider supporting this project:

buymeacoffee.com
ko-fi.com

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on wheel_choice