SurveyPage constructor

const SurveyPage({
  1. Key? key,
  2. required RPTask task,
  3. required void resultCallback(
    1. RPTaskResult
    ),
  4. void onSurveyCancel([
    1. RPTaskResult?
    ])?,
})

Implementation

const SurveyPage({
  super.key,
  required this.task,
  required this.resultCallback,
  this.onSurveyCancel,
}) : super();