Header constructor

const Header({
  1. Key? key,
  2. required List<TabItem> children,
  3. Widget? leading,
  4. Widget? trailing,
  5. bool showLeading = true,
  6. bool showTrailing = true,
  7. MainAxisAlignment alignment = MainAxisAlignment.center,
  8. required String title,
  9. double? height,
  10. bool isFloating = true,
})

Implementation

const Header({
  super.key,
  required this.children,
  this.leading,
  this.trailing,
  this.showLeading = true,
  this.showTrailing = true,
  this.alignment = MainAxisAlignment.center,
  required this.title,
  this.height,
  this.isFloating = true,
});