HeroText constructor

HeroText(
  1. TextBuilder builder, {
  2. Key? key,
  3. required TextStyle startStyle,
  4. required TextStyle endStyle,
})

Implementation

HeroText(TextBuilder builder,
    {Key? key, required this.startStyle, required this.endStyle})
    : startText = builder(startStyle),
      endText = builder(endStyle),
      noStyle = builder(null),
      super(key: key);