Skip to content
pubscout

stepper_counter_swipe

2.0.1, released 9 months ago by burakoz.site

A Flutter stepper widget with a swipe gesture and hit zone for fast counting.

WASM-ready
$ flutter pub add stepper_counter_swipe
Source repository

What it does

Provides a swipeable stepper counter widget that lets users increment or decrement values with customizable speeds. It includes a hit zone for fast counting and manages its own internal counter state.

AI-written summary of version 2.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need a swipe-to-increment or swipe-to-decrement counter widget in your UI.
  • You want a stepper that supports fast counting via a hit zone.

Skip it when

  • You need standard tap-only increment/decrement buttons without swipe interactions.
  • You are using a Dart SDK version older than 3.0.0.

Strengths

  • Supports fast counting with customizable speed transitions and durations.
  • Manages its own internal counter state.
  • Includes boundaries like minValue, maxValue, and step configurations.

Weaknesses

  • Limited to a single specific UI widget pattern (swipe stepper counter).
  • No built-in alternatives from the provided catalog.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
StepperSwipe(
  initialValue: 0,
  speedTransitionLimitCount: 3,
  onChanged: (int value) => print('new value $value'),
  firstIncrementDuration: Duration(milliseconds: 250),
  secondIncrementDuration: Duration(milliseconds: 100),
  direction: Axis.horizontal,
  dragButtonColor: Colors.blueAccent,
  maxValue: 50,
  minValue: -10,
)

Alternatives

Packages that do the same job and could replace stepper_counter_swipe.