widget property

  1. @override
Widget? widget
override

The widget to be shown to the user as part of this task, if any. Note that the user interface may not be available before the onStart method has been called.

Implementation

@override
Widget? get widget => SurveyPage(
      task: rpAppTask.rpTask,
      resultCallback: _onSurveySubmit,
      onSurveyCancel: _onSurveyCancel,
    );