CustomScaffold constructor
const
CustomScaffold({
- required Widget body,
- double elevation = 0.5,
- bool centerTitle = true,
- Widget? leading,
- List<
Widget> actions = const [], - Widget title = const Text(''),
- Color? alternativeBackgroundColor,
- PreferredSizeWidget? customAppBar,
- Widget? floatingActionButton,
- Color? appBarBackgroundColor,
- Color? appBarForgroundColor,
- Key? key,
Implementation
const CustomScaffold(
{required this.body,
this.elevation = 0.5,
this.centerTitle = true,
this.leading,
this.actions = const [],
this.title = const Text(''),
this.alternativeBackgroundColor,
this.customAppBar,
this.floatingActionButton,
this.appBarBackgroundColor,
this.appBarForgroundColor,
super.key});