InstructionStep constructor

InstructionStep({
  1. required String title,
  2. required String text,
  3. bool isOptional = false,
  4. String buttonText = 'Next',
  5. StepIdentifier? stepIdentifier,
  6. bool? canGoBack,
  7. bool? showProgress,
  8. bool showAppBar = true,
})

Implementation

InstructionStep({
  required this.title,
  required this.text,
  bool isOptional = false,
  String buttonText = 'Next',
  StepIdentifier? stepIdentifier,
  bool? canGoBack,
  bool? showProgress,
  bool showAppBar = true,
}) : super(
        stepIdentifier: stepIdentifier,
        isOptional: isOptional,
        buttonText: buttonText,
        canGoBack: canGoBack ?? false,
        showProgress: showProgress ?? false,
        showAppBar: showAppBar,
      );