quantity_stepper 0.1.0 copy "quantity_stepper: ^0.1.0" to clipboard
quantity_stepper: ^0.1.0 copied to clipboard

Accessible quantity stepper for Flutter: screen-reader adjust actions, 48dp targets, long-press repeat, keyboard support, a real FormField. No dependencies.

0.1.0 #

First release.

  • QuantityStepper: an integer control with minus and plus buttons, min, max, step and largeStep, in controlled (value) and uncontrolled (initialValue) modes.
  • Screen readers: one adjustable semantics node with label, value, increasedValue, decreasedValue and increase/decrease actions; disabled state; optional debounced announcements through SemanticsService.sendAnnouncement (announceChanges).
  • Long-press auto-repeat with acceleration (autoRepeat, repeatDelay, repeatInterval).
  • Keyboard: ArrowUp/ArrowDown, PageUp/PageDown; opt-in mouse wheel.
  • editable mode: numeric text field, clamped on submit or blur.
  • QuantityStepperFormField: a FormField<int> with validator, onSaved, autovalidateMode and reset.
  • QuantityStepperTheme (ThemeExtension) and a per-widget style; compact size; horizontal and vertical axis; right-to-left layout.
  • Every tap target is at least 48x48 logical pixels.
  • Respects MediaQuery.disableAnimations.
  • Tested with widget tests on Flutter 3.47.5. Not yet tested with TalkBack or VoiceOver on real devices.
0
likes
160
points
--
downloads
screenshot

Documentation

API reference

Publisher

verified publisherdaniotech.com

Accessible quantity stepper for Flutter: screen-reader adjust actions, 48dp targets, long-press repeat, keyboard support, a real FormField. No dependencies.

Homepage
Repository (GitHub)
View/report issues

Topics

#accessibility #input #form #widget #stepper

License

MIT (license)

Dependencies

flutter

More

Packages that depend on quantity_stepper