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 centerTitle = false,
  14. BarBackButtonMode backButton = BarBackButtonMode.never,
  15. void onBack()?,
  16. 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.centerTitle = false,
  this.backButton = BarBackButtonMode.never,
  this.onBack,
  super.key,
});