BarProps constructor

const BarProps({
  1. String? titleText,
  2. Widget? title,
  3. String? subtitleText,
  4. Widget? subtitle,
  5. List<Widget>? leading,
  6. List<Widget>? trailing,
  7. BarBackButtonMode backButton = BarBackButtonMode.auto,
  8. void onBack()?,
  9. bool transparent = false,
  10. bool centerTitle = false,
  11. double? height,
  12. String? padding,
})

Implementation

const BarProps({
  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,
});