Search packages, repositories and app categories

stepper_counter_swipe cover
Package detailsv2.0.1

stepper_counter_swipe

A flutter stepper widget for make the user experience much better. There is a hit zone for fast count

AndroidiOSWebmacOSWindowsLinux
30-day downloads
364
Likes
129
Pub points
150

Install package

flutter pub add stepper_counter_swipe

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The stepper_counter_swipe package enhances the Flutter stepper widget with a swipe gesture interface, enabling faster and more intuitive value adjustment. It introduces a hit zone for quick increments or decrements, improving user experience on touch-enabled devices. Designed for smooth interaction across platforms, it supports Android, iOS, Web, macOS, Windows, and Linux. The package is ideal for forms requiring numeric input with efficient navigation.

Use cases

  • Form inputs with numeric values
  • E-commerce product quantity selection
  • Settings with adjustable parameters
  • Mobile-first data entry interfaces
  • Interactive UI components with fast input

Key features

  • Swipe-based value adjustment
  • Hit zone for rapid counting
  • Cross-platform compatibility
  • Enhanced user experience
  • Simple integration with existing forms

Suitable for

  • Developers seeking intuitive numeric input
  • Apps prioritizing mobile usability
  • Designers focused on gesture-driven interactions
  • Projects requiring fast form adjustments
  • Flutter apps targeting multiple platforms

Considerations

  • Requires touch input for optimal use
  • May need custom styling for visual consistency
  • Limited to numeric increment/decrement
  • Not suitable for non-touch devices
  • Best used in contexts where speed matters over precision

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

stepper_counter_swipe

Awesome Flutter

This concept of the widget is inspired by Nikolay Kuchkarov. Designers asked his what if a user swipes left and will hold such type of button. Could this stepper count faster? I released this version with more functionality in this subject.

gif

Created

Usage example

import 'package:stepper_counter_swipe/stepper_counter_swipe.dart';
...
Container(
  padding: const EdgeInsets.all(8.0),
  child: StepperSwipe(
    initialValue:0,
    speedTransitionLimitCount: 3, //Trigger count for fast counting
    onChanged: (int value) => print('new value $value'),
    firstIncrementDuration: Duration(milliseconds: 250), //Unit time before fast counting
    secondIncrementDuration: Duration(milliseconds: 100), //Unit time during fast counting
    direction: Axis.horizontal,
    dragButtonColor: Colors.blueAccent,
	maxValue: 50,
	minValue: -10,
  ),
),
...

Getting Started

For help getting started with Flutter, view our online documentation.

Categories

Source repository

Projects using this package

No data available yet.