HeroSectionProps constructor
const
HeroSectionProps({
- String? headline,
- Widget? headlineComponent,
- String? subheadline,
- Widget? primaryCta,
- Widget? secondaryCta,
- Widget? badge,
- Widget? promoBanner,
- Widget? media,
- bool centered = true,
- double verticalPadding = 80,
- double maxWidth = 800,
- List<
HeroStatItem> ? stats, - bool showBackgroundGlow = false,
- String? glowColor,
Implementation
const HeroSectionProps({
this.headline,
this.headlineComponent,
this.subheadline,
this.primaryCta,
this.secondaryCta,
this.badge,
this.promoBanner,
this.media,
this.centered = true,
this.verticalPadding = 80,
this.maxWidth = 800,
this.stats,
this.showBackgroundGlow = false,
this.glowColor,
}) : assert(headline != null || headlineComponent != null,
'Either headline or headlineComponent must be provided');