ApplicationHeader constructor
const
ApplicationHeader({
- Key? key,
- String title = 'Alter',
- String subtitle = 'Design System',
- bool hasStyleButton = true,
- String styleButtonTitle = 'STREAK',
- String styleButtonSubtitle = '7 DAYS',
- VoidCallback? onStyleButtonTap,
- bool hasActionOne = true,
- VoidCallback? onActionOneTap,
- bool hasActionTwo = false,
- VoidCallback? onActionTwoTap,
- bool hasProfileAction = true,
- VoidCallback? onProfileTap,
- 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,
});