stepper_counter_swipe 1.0.2 copy "stepper_counter_swipe: ^1.0.2" to clipboard
stepper_counter_swipe: ^1.0.2 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(MyApp());

class MyApp extends StatefulWidget {
 int val=0;
  @override
  _MyAppState createState() => _MyAppState();

  
}

class _MyAppState extends State<MyApp> {
   
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.green,
        body: Center(
          child: StepperSwipe(
            initialValue:0,
            speedTransitionLimitCount: 3,
            firstIncrementDuration: Duration(milliseconds: 300),
            secondIncrementDuration: Duration(milliseconds: 100),
            direction: Axis.horizontal,
            dragButtonColor: Colors.blueAccent,
            withSpring: true,
            maxValue:50,
			      minValue:1,
            withFastCount: true,
            stepperValue:widget.val,
            onChanged: (int val) => print('New value : $val'),
          ),
        ),
      ),
    );
  }
}
116
likes
110
pub points
80%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on stepper_counter_swipe