HeroText.bold constructor

const HeroText.bold(
  1. String text, {
  2. Color? color,
  3. Key? key,
})

Implementation

const HeroText.bold(this.text, {this.color, Key? key})
    : fontType = FontType.bold,
      super(key: key);