ModulaScaffold constructor

const ModulaScaffold({
  1. Key? key,
  2. Widget? body,
  3. PreferredSizeWidget? appBar,
  4. double? gradientTopPosition = -460,
  5. bool resizeToAvoidBottomInset = true,
  6. bool extendBodyBehindAppBar = false,
  7. Gradient? gradient = const LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Color(0xff101010), Color(0xff181B1C)]),
  8. Color? backgroundColor,
})

Implementation

const ModulaScaffold({
  super.key,
  this.body,
  this.appBar,
  this.gradientTopPosition = -460,
  this.resizeToAvoidBottomInset = true,
  this.extendBodyBehindAppBar = false,
  this.gradient = const LinearGradient(
    begin: Alignment.topCenter,
    end: Alignment.bottomCenter,
    colors: [Color(0xff101010), Color(0xff181B1C)],
  ),
  this.backgroundColor,
});