GTKHeaderBar constructor

const GTKHeaderBar({
  1. Key? key,
  2. List<Widget>? leading,
  3. Widget? middle,
  4. List<Widget>? trailing,
  5. PreferredSizeWidget? bottom,
  6. double height = 44,
  7. double middleSpacing = 10,
  8. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10),
  9. bool showLeading = true,
  10. bool showTrailing = true,
  11. bool showMaximizeButton = true,
  12. bool showMinimizeButton = true,
  13. bool showCloseButton = true,
  14. bool showWindowControlsButtons = true,
  15. Function? onWindowResize,
})

Implementation

const GTKHeaderBar({
  super.key,
  this.leading,
  this.middle,
  this.trailing,
  this.bottom,
  this.height = 44,
  this.middleSpacing = 10,
  this.padding = const EdgeInsets.symmetric(horizontal: 10),
  this.showLeading = true,
  this.showTrailing = true,
  this.showMaximizeButton = true,
  this.showMinimizeButton = true,
  this.showCloseButton = true,
  this.showWindowControlsButtons = true,
  this.onWindowResize,
});