steps
is a list, onStepTapped, onStepContinue, onStepCancel,controlsBuilder
are functions. The currentStep
is the int
. The type
is the enum
. I will tell the detail of them one by one.steps
.title, subtitle, content
are the widgets, the state is an enum
.vertical
. We use the horizontal
in this example.continue
or cancel
, it will print as follows.continue, cancel
button, you can use the controlsBuilder
to define them. The function is the same as the above. But this time, I will hide these two buttons.Stepper
. It has many parameters, the most thing you should know that this widget is very special widget. You can learn it when you need time.