CustomScaffold constructor

const CustomScaffold({
  1. required Widget body,
  2. double elevation = 0.5,
  3. bool centerTitle = true,
  4. Widget? leading,
  5. List<Widget> actions = const [],
  6. Widget title = const Text(''),
  7. Color? alternativeBackgroundColor,
  8. PreferredSizeWidget? customAppBar,
  9. Widget? floatingActionButton,
  10. Color? appBarBackgroundColor,
  11. Color? appBarForgroundColor,
  12. 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});