BaseView constructor

const BaseView({
  1. Key? key,
  2. bool automaticallyImplyiLeading = true,
  3. String? titleText,
  4. required Widget body,
  5. Color? appBarColor,
  6. Color? color,
  7. bool resizeToAvoidBottomInset = true,
  8. WillPopCallback? onBackCallback,
  9. Widget? bottomSheet,
  10. EdgeInsets padding = const EdgeInsets.all(16.0),
  11. List<Widget> actions = const [],
  12. Widget? bottomNavigationBar,
  13. PreferredSizeWidget? bottomWidget,
  14. double elevation = 2,
  15. Widget? leading,
  16. Widget? floatingActionButton,
})

Implementation

const BaseView({
  Key? key,
  this.automaticallyImplyiLeading = true,
  this.titleText,
  required this.body,
  this.appBarColor,
  this.color,
  this.resizeToAvoidBottomInset = true,
  this.onBackCallback,
  this.bottomSheet,
  this.padding = const EdgeInsets.all(16.0),
  this.actions = const [],
  this.bottomNavigationBar,
  this.bottomWidget,
  this.elevation = 2,
  this.leading,
  this.floatingActionButton,
}) : super(key: key);