fine_stepper 0.1.0 copy "fine_stepper: ^0.1.0" to clipboard
fine_stepper: ^0.1.0 copied to clipboard

A horizontal stepper that does the job just fine

Fine Stepper #

style: very good analysis License: MIT

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 adds StepperControls 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}'),
      ),
    )
  ],
),
4
likes
0
pub points
78%
popularity

Publisher

unverified uploader

A horizontal stepper that does the job just fine

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on fine_stepper