StepShell typedef

StepShell = Widget Function(Step step, Widget? answerWidget, BuildContext context)

A builder function for customizing the container around each survey step. Receives the current Step, the built answer widget (may be null for content-only steps), and the BuildContext.

Implementation

typedef StepShell = Widget Function(
  Step step,
  Widget? answerWidget,
  BuildContext context,
);