Bar constructor
const
Bar({
- List<
Widget> trailing = const <Widget>[], - List<
Widget> leading = const <Widget>[], - Widget? child,
- Widget? title,
- Widget? barHeader,
- String? titleText,
- String? headerText,
- String? subtitleText,
- Widget? header,
- Widget? subtitle,
- bool trailingExpanded = false,
- bool useGlass = true,
- bool centerTitle = false,
- BarBackButtonMode backButton = BarBackButtonMode.never,
- void onBack()?,
- Key? key,
Implementation
const Bar({
this.trailing = const <Widget>[],
this.leading = const <Widget>[],
this.child,
this.title,
this.barHeader,
this.barFooter,
this.titleText,
this.headerText,
this.subtitleText,
this.header,
this.subtitle,
this.trailingExpanded = false,
this.useGlass = true,
this.centerTitle = false,
this.backButton = BarBackButtonMode.never,
this.onBack,
super.key,
});