RPQuestionStep constructor

RPQuestionStep({
  1. required String identifier,
  2. required RPAnswerFormat answerFormat,
  3. required String title,
  4. bool optional = false,
})

Creates a Question Step populated with title (text of the question) and answer format on which the actual layout depends

Implementation

RPQuestionStep(
    {required String identifier,
    required this.answerFormat,
    required String title,
    bool optional = false})
    : super(identifier: identifier, title: title, optional: optional);