NomoRouteBody constructor
const
NomoRouteBody({
- Widget? child,
- Key? key,
- ScrollController? scrollController,
- EdgeInsetsGeometry? padding,
- double? scrollBarThickness,
- Radius? scrollBarRadius,
- List<
Widget> ? children, - List<
Widget> ? slivers, - Widget builder(
- BuildContext context
- List<
Widget> childrenBuilder(- BuildContext context
- List<
Widget> sliverBuilder(- BuildContext context
- bool useScrollBar = false,
- Color? backgroundColor,
- bool scrollable = false,
- double? maxContentWidth,
- Widget? background,
Implementation
const NomoRouteBody({
this.child,
super.key,
this.scrollController,
this.padding,
this.scrollBarThickness,
this.scrollBarRadius,
this.children,
this.slivers,
this.builder,
this.childrenBuilder,
this.sliverBuilder,
this.useScrollBar = false,
this.footer,
this.backgroundColor,
this.scrollable = false,
this.maxContentWidth,
this.background,
this.floatingFooter,
}) : assert(
child != null ||
slivers != null ||
children != null ||
builder != null ||
sliverBuilder != null ||
childrenBuilder != null,
'Either child or builder must be provided',
);