stepper_counter_swipe 2.0.1 copy "stepper_counter_swipe: ^2.0.1" to clipboard
stepper_counter_swipe: ^2.0.1 copied to clipboard

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

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:stepper_counter_swipe/stepper_counter_swipe.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.green,
        body: Center(
          child: StepperSwipe(
            initialValue: 0,
            speedTransitionLimitCount: 3,
            firstIncrementDuration: const Duration(milliseconds: 300),
            secondIncrementDuration: const Duration(milliseconds: 100),
            direction: Axis.horizontal,
            dragButtonColor: Colors.blueAccent,
            withSpring: true,
            maxValue: 50,
            minValue: 1,
            withFastCount: true,
            onChanged: (int val) => print('New value : $val'),
            step: 5,
          ),
        ),
      ),
    );
  }
}
129
likes
150
points
347
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on stepper_counter_swipe