Bar constructor

const Bar({
  1. List<Widget> trailing = const <Widget>[],
  2. List<Widget> leading = const <Widget>[],
  3. Widget? child,
  4. Widget? title,
  5. Widget? barHeader,
  6. Widget? barFooter,
  7. String? titleText,
  8. String? headerText,
  9. String? subtitleText,
  10. Widget? header,
  11. Widget? subtitle,
  12. bool trailingExpanded = false,
  13. bool useGlass = true,
  14. bool centerTitle = false,
  15. BarBackButtonMode backButton = BarBackButtonMode.never,
  16. void onBack()?,
  17. 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,
});