Bar constructor
const
Bar({
- Key? key,
- bool ignoreContextSignals = false,
- List<
Widget> trailing = const [], - List<
Widget> leading = const [], - String? titleText,
- BarBackButtonMode backButton = BarBackButtonMode.always,
- String? headerText,
- String? subtitleText,
- Widget? title,
- BarActions? actions,
- Widget? header,
- Widget? subtitle,
- Widget? child,
- bool trailingExpanded = false,
- Alignment alignment = Alignment.center,
- EdgeInsetsGeometry? padding,
- Color? backgroundColor,
- double? leadingGap,
- double? trailingGap,
- double? height,
- Widget? barHeader,
- bool useGlass = true,
Implementation
const Bar(
{super.key,
this.ignoreContextSignals = false,
this.trailing = const [],
this.leading = const [],
this.titleText,
this.backButton = BarBackButtonMode.always,
this.headerText,
this.subtitleText,
this.title,
this.actions,
this.header,
this.subtitle,
this.child,
this.trailingExpanded = false,
this.alignment = Alignment.center,
this.padding,
this.backgroundColor,
this.leadingGap,
this.trailingGap,
this.height,
this.barHeader,
this.barFooter,
this.useGlass = true});