gradual_stepper 1.0.0 gradual_stepper: ^1.0.0 copied to clipboard
A flutter stepper widget for selecting values in natural ways. Ideal for amount selection.
gradual_stepper #
A real world useful widget for selecting values in natural ways.
Created & Maintained by #
Highly inspired from #
Usage #
To use this package :
- Add the dependency to your pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
gradual_stepper:
- Usage example.
import 'package:gradual_stepper/gradual_stepper.dart';
// ...
Container(
padding: const EdgeInsets.all(8.0),
child: GradualStepper(
initialValue: 0,
minimumValue: -100,
maximumValue: 100,
stepValue: 2,
onChanged: (int value) => print('new value $value'),
),
),
// ...
Getting Started #
This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.