Unverified Commit 551a2a6b authored by Juyeong Lee's avatar Juyeong Lee Committed by GitHub

Improve Stepper controlsBuilder docs (#63910)

parent 51bb11f7
......@@ -195,6 +195,8 @@ class Stepper extends StatefulWidget {
///
/// This callback which takes in a context and two functions: [onStepContinue]
/// and [onStepCancel]. These can be used to control the stepper.
/// For example, keeping track of the [currentStep] within the callback can
/// change the text of the continue or cancel button depending on which step users are at.
///
/// {@tool dartpad --template=stateless_widget_scaffold}
/// Creates a stepper control with custom buttons.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment