ApplicationHeader constructor

const ApplicationHeader({
  1. Key? key,
  2. String title = 'Alter',
  3. String subtitle = 'Design System',
  4. bool hasStyleButton = true,
  5. String styleButtonTitle = 'STREAK',
  6. String styleButtonSubtitle = '7 DAYS',
  7. VoidCallback? onStyleButtonTap,
  8. bool hasActionOne = true,
  9. VoidCallback? onActionOneTap,
  10. bool hasActionTwo = false,
  11. VoidCallback? onActionTwoTap,
  12. bool hasProfileAction = true,
  13. VoidCallback? onProfileTap,
  14. Widget? slot,
})

Implementation

const ApplicationHeader({
  super.key,
  this.title = 'Alter',
  this.subtitle = 'Design System',
  this.hasStyleButton = true,
  this.styleButtonTitle = 'STREAK',
  this.styleButtonSubtitle = '7 DAYS',
  this.onStyleButtonTap,
  this.hasActionOne = true,
  this.onActionOneTap,
  this.hasActionTwo = false,
  this.onActionTwoTap,
  this.hasProfileAction = true,
  this.onProfileTap,
  this.slot,
});