steps_indicator 0.2.0 steps_indicator: ^0.2.0 copied to clipboard
Flutter plugin to display a simple steps indicator line widget.
steps_indicator #
A simple steps indicator widget
Installation #
Add steps_indicator: ^0.2.0
in your pubspec.yaml
dependencies. And import it:
import 'package:steps_indicator/steps_indicator.dart';
How to use #
Simply create a StepsIndicator
widget and pass the required params:
StepsIndicator(
selectedStep: 1,
nbSteps: 4
)
Params #
StepsIndicator(
selectedStep: 1,
nbSteps: 4,
selectedStepColorOut: Colors.blue,
selectedStepColorIn: Colors.white,
doneStepColor: Colors.blue,
unselectedStepColor: Colors.red,
doneLineColor: Colors.blue,
undoneLineColor: Colors.red,
isHorizontal: true
)
For a more detail example please take a look at the example
folder.
Example #
Steps indicator:
- #
If something is missing, feel free to open a ticket or contribute!