fine_stepper 0.1.0
fine_stepper: ^0.1.0 copied to clipboard
A horizontal stepper that does the job just fine
Fine Stepper #
Generated by Very Good CLI 🤖
NOTE: this package still in early development, use with caution
Simple api for creating and managing steps flows (only supports horizontal steps)
Features #
- Control from any where down the widget tree with
FineStepper.of
- Fully Customizable
StepBuilder
that addsStepperControls
out of the box.FormStepBuilder
that adds form functionalty to validate a form before stepping forward
Installation #
Add fine_stepper
to your pubspec.yaml
dependencies.
fine_stepper:
git:
url: https://github.com/michaelsoliman1/fine_stepper.git
Import it:
import 'package:fine_stepper/fine_stepper.dart';
How to use #
Create a FineStepper
widget, and pass your steps:
FineStepper(
steps: [
StepItem(
builder: (context) => StepBuilder(
child: Text('Step ${FineStepper.of(context).stepIndex}'),
),
),
StepItem(
builder: (context) => StepBuilder(
child: Text('Step ${FineStepper.of(context).stepIndex}'),
),
),
StepItem(
builder: (context) => StepBuilder(
child: Text('Step ${FineStepper.of(context).stepIndex}'),
),
)
],
),