Created
January 23, 2020 18:30
-
-
Save SandroMaglione/0c1d1f4b80b6856f5553c541455012d0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:step_progress_indicator/step_progress_indicator.dart'; | |
class ExampleStepProgressIndicator extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return SafeArea( | |
child: Scaffold( | |
body: Row( | |
mainAxisAlignment: MainAxisAlignment.center, | |
children: <Widget>[ | |
StepProgressIndicator( | |
totalSteps: 10, | |
currentStep: 6, | |
width: 10.0, | |
direction: Axis.vertical, | |
progressDirection: TextDirection.rtl, | |
), | |
], | |
), | |
), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment