Bar constructor

const Bar({
  1. Key? key,
  2. bool ignoreContextSignals = false,
  3. List<Widget> trailing = const [],
  4. List<Widget> leading = const [],
  5. String? titleText,
  6. BarBackButtonMode backButton = BarBackButtonMode.always,
  7. String? headerText,
  8. String? subtitleText,
  9. Widget? title,
  10. BarActions? actions,
  11. Widget? header,
  12. Widget? subtitle,
  13. Widget? child,
  14. bool trailingExpanded = false,
  15. Alignment alignment = Alignment.center,
  16. EdgeInsetsGeometry? padding,
  17. Color? backgroundColor,
  18. double? leadingGap,
  19. double? trailingGap,
  20. double? height,
  21. Widget? barHeader,
  22. Widget? barFooter,
  23. 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});