Skip to content

Latest commit

 

History

History
58 lines (42 loc) · 1.34 KB

README.md

File metadata and controls

58 lines (42 loc) · 1.34 KB

gradual_stepper

A real world useful widget for selecting values in natural ways.

Created & Maintained by

Moustapha Chadly

Highly inspired from

Usage

Example

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.