GTKHeaderBar constructor
const
GTKHeaderBar({
- Key? key,
- List<
Widget> ? leading, - Widget? middle,
- List<
Widget> ? trailing, - PreferredSizeWidget? bottom,
- double height = 44,
- double middleSpacing = 10,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 10),
- bool showLeading = true,
- bool showTrailing = true,
- bool showMaximizeButton = true,
- bool showMinimizeButton = true,
- bool showCloseButton = true,
- bool showWindowControlsButtons = true,
- 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,
});