SmoothScaffold2 constructor
const
SmoothScaffold2({ - required List<Widget> children,
- SmoothTopBar2? topBar,
- Widget? bottomBar,
- Color? backgroundColor,
- EdgeInsetsGeometry? padding,
- bool injectPaddingInBody = true,
- bool belowTopBar = false,
- Widget? floatingBottomBar,
- bool bottomSafeArea = true,
- Key? key,
})
Implementation
const SmoothScaffold2({
required this.children,
this.topBar,
this.bottomBar,
this.backgroundColor,
this.padding,
this.injectPaddingInBody = true,
this.belowTopBar = false,
this.floatingBottomBar,
this.bottomSafeArea = true,
super.key,
}) : assert(
(bottomBar == null || floatingBottomBar == null),
'You can provide either a fixed bottomBar or a floatingBottomBar, not both.',
);