HeroText constructor

const HeroText(
  1. String text, {
  2. Key? key,
})

Implementation

const factory HeroText(String text, {Key? key}) = HeroText.normal;