ApplicationHeader constructor

const ApplicationHeader({
  1. Key? key,
  2. String title = 'Alter',
  3. String subtitle = 'Design System',
  4. bool hasReturnButton = false,
  5. VoidCallback? onReturnTap,
  6. bool hasStyleButton = true,
  7. String styleButtonTitle = 'STREAK',
  8. String styleButtonSubtitle = '7 DAYS',
  9. VoidCallback? onStyleButtonTap,
  10. bool hasActionOne = true,
  11. IconData actionOneIcon = Icons.favorite_border,
  12. VoidCallback? onActionOneTap,
  13. bool hasActionTwo = false,
  14. IconData actionTwoIcon = Icons.favorite_border,
  15. VoidCallback? onActionTwoTap,
  16. bool hasProfileAction = true,
  17. ImageProvider<Object>? profileImage,
  18. VoidCallback? onProfileTap,
  19. Widget? slot,
})

Implementation

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