HeroSection constructor

const HeroSection({
  1. required String headline,
  2. String? subheadline,
  3. Component? primaryCta,
  4. Component? secondaryCta,
  5. Component? badge,
  6. Component? media,
  7. bool centered = true,
  8. double verticalPadding = 80,
  9. double maxWidth = 800,
  10. Key? key,
})

Implementation

const HeroSection({
  required this.headline,
  this.subheadline,
  this.primaryCta,
  this.secondaryCta,
  this.badge,
  this.media,
  this.centered = true,
  this.verticalPadding = 80,
  this.maxWidth = 800,
  super.key,
});