SurveyStateProviderWidget constructor

const SurveyStateProviderWidget({
  1. Key? key,
  2. required TaskNavigator taskNavigator,
  3. required void onResult(
    1. SurveyResult
    ),
  4. required Widget child,
  5. required GlobalKey<NavigatorState> navigatorKey,
  6. StepShell? stepShell,
})

Creates a SurveyStateProviderWidget.

All parameters are required except stepShell.

Implementation

const SurveyStateProviderWidget({
  super.key,
  required this.taskNavigator,
  required this.onResult,
  required this.child,
  required this.navigatorKey,
  this.stepShell,
});