SmoothScaffold2 constructor

const SmoothScaffold2({
  1. required List<Widget> children,
  2. SmoothTopBar2? topBar,
  3. Widget? bottomBar,
  4. Color? backgroundColor,
  5. EdgeInsetsGeometry? padding,
  6. bool injectPaddingInBody = true,
  7. bool belowTopBar = false,
  8. Widget? floatingBottomBar,
  9. bool bottomSafeArea = true,
  10. 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.',
     );