ApplicationHeaderMobile constructor
const
ApplicationHeaderMobile({
- Key? key,
- String title = 'Alter',
- String subtitle = 'Design System',
- bool hasReturnButton = false,
- VoidCallback? onReturnTap,
- bool hasStyleButton = true,
- String styleButtonTitle = 'STREAK',
- String styleButtonSubtitle = '7 DAYS',
- VoidCallback? onStyleButtonTap,
- bool hasActionOne = true,
- IconData actionOneIcon = Icons.favorite_border,
- VoidCallback? onActionOneTap,
- bool hasActionTwo = false,
- IconData actionTwoIcon = Icons.favorite_border,
- VoidCallback? onActionTwoTap,
- bool hasProfileAction = true,
- ImageProvider<
Object> ? profileImage, - VoidCallback? onProfileTap,
- Widget? slot,
Creates an ApplicationHeaderMobile instance.
Implementation
const ApplicationHeaderMobile({
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,
});