buildShell method

Widget buildShell({
  1. Widget? body,
  2. List<Widget>? children,
  3. Widget customFooter(
    1. BuildContext,
    2. WidgetRef
    )?,
})

Wraps body in the shared auth step shell.

Implementation

Widget buildShell({
  Widget? body,
  List<Widget>? children,
  Widget Function(BuildContext, WidgetRef)? customFooter,
}) {
  return _AuthStepShell(
    stepId: stepId,
    layout: layout.copyWith(
      title: title,
      subtitle: subtitle,
    ),
    appBar: buildAppBar,
    footer: customFooter?.call(context, ref) ?? buildFooter,
    trailingContent: buildTrailingContent,
    body: body,
    children: children,
  );
}