BaseView constructor
const
BaseView({
- Key? key,
- bool automaticallyImplyiLeading = true,
- String? titleText,
- required Widget body,
- Color? appBarColor,
- Color? color,
- bool resizeToAvoidBottomInset = true,
- WillPopCallback? onBackCallback,
- Widget? bottomSheet,
- EdgeInsets padding = const EdgeInsets.all(16.0),
- List<
Widget> actions = const [], - PreferredSizeWidget? bottomWidget,
- double elevation = 2,
- Widget? leading,
- 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);