QuestionStep constructor

QuestionStep({
  1. bool isOptional = false,
  2. String buttonText = 'Next',
  3. StepIdentifier? stepIdentifier,
  4. bool showAppBar = true,
  5. String title = '',
  6. String text = '',
  7. Widget content = const SizedBox.shrink(),
  8. required AnswerFormat answerFormat,
})

Implementation

QuestionStep({
  bool isOptional = false,
  String buttonText = 'Next',
  StepIdentifier? stepIdentifier,
  bool showAppBar = true,
  this.title = '',
  this.text = '',
  this.content = const SizedBox.shrink(),
  required this.answerFormat,
}) : super(
        stepIdentifier: stepIdentifier,
        isOptional: isOptional,
        buttonText: buttonText,
        showAppBar: showAppBar,
      );