Bar constructor
const
Bar({
- String? titleText,
- Component? title,
- String? subtitleText,
- Component? subtitle,
- List<
Component> ? leading, - List<
Component> ? trailing, - BarBackButtonMode backButton = BarBackButtonMode.auto,
- void onBack()?,
- bool transparent = false,
- bool centerTitle = false,
- double? height,
- EdgeInsets? padding,
- Key? key,
Implementation
const Bar({
this.titleText,
this.title,
this.subtitleText,
this.subtitle,
this.leading,
this.trailing,
this.backButton = BarBackButtonMode.auto,
this.onBack,
this.transparent = false,
this.centerTitle = false,
this.height,
this.padding,
super.key,
});