ModulaScaffold constructor
const
ModulaScaffold({
- Key? key,
- Widget? body,
- PreferredSizeWidget? appBar,
- double? gradientTopPosition = -460,
- bool resizeToAvoidBottomInset = true,
- bool extendBodyBehindAppBar = false,
- Gradient? gradient = const LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Color(0xff101010), Color(0xff181B1C)]),
- 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,
});