Survey constructor

const Survey({
  1. Key? key,
  2. required List<Question> initialData,
  3. Widget builder(
    1. BuildContext context,
    2. Question question,
    3. void update(
      1. List<String>
      )
    )?,
  4. String? defaultErrorText,
  5. void onNext(
    1. List<QuestionResult> questionResults
    )?,
})

Implementation

const Survey(
    {Key? key,
    required this.initialData,
    this.builder,
    this.defaultErrorText,
    this.onNext})
    : super(key: key);