added another demo_gif for horizontal mode in using_stepper example

This commit is contained in:
Nishant Srivastava
2017-08-25 22:08:46 -07:00
parent 1b655acb94
commit 081981e8d7
3 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,8 @@ A material stepper widget that displays progress through a sequence of steps. St
Read [[Documentation](https://docs.flutter.io/flutter/material/Stepper-class.html)] [[Material Design Spec](https://material.io/guidelines/components/steppers.html)] Read [[Documentation](https://docs.flutter.io/flutter/material/Stepper-class.html)] [[Material Design Spec](https://material.io/guidelines/components/steppers.html)]
<img src="demo_img.gif" height="600em" /> <img src="demo_img.gif" height="600em" /> <img src="demo_img_2.gif" height="600em" />
## Getting Started ## Getting Started

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 KiB

View File

@ -51,6 +51,8 @@ class MyHomeState extends State<MyHome> {
// List the steps you would like to have // List the steps you would like to have
steps: my_steps, steps: my_steps,
// Define the type of Stepper style // Define the type of Stepper style
// StepperType.horizontal : Horizontal Style
// StepperType.vertical : Vertical Style
type: StepperType.vertical, type: StepperType.vertical,
// Know the step that is tapped // Know the step that is tapped
onStepTapped: (step) { onStepTapped: (step) {