FLUTTER ECOSYSTEM

burakozyurt/stepper_counter_swipe

burakozyurt/stepper_counter_swipe open-source repository details.

stepper_counter_swipe 项目封面
Stars
18
Forks
4
最近推送(UTC)
2026年2月27日
项目状态
未归档
Ahmet Burak Özyurt GitHub avatar
GITHUB User

Ahmet Burak Özyurt ↗

Mobile App. Dev, Flutter Dev, Experienced on Firebase DBA

Bahçelievler, İstanbul
语言DartPythonSwiftKotlinObjective-C

此仓库发布的插件

使用的依赖

依赖清单 2 项
  • flutter{"sdk":"flutter"}
  • flutter_test开发依赖{"sdk":"flutter"}

原始 README

以下为英文项目原文快照,最新内容请访问 GitHub。

展开 / 收起项目 README

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

https://github.com/burakozyurt/stepper_counter_swipe/blob/master/documents/blue.gif?raw=true https://github.com/burakozyurt/stepper_counter_swipe/blob/master/documents/green.gif?raw=true https://github.com/burakozyurt/stepper_counter_swipe/blob/master/documents/red.gif?raw=true

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.