HeroText constructor
HeroText(
- TextBuilder builder, {
- Key? key,
- required TextStyle startStyle,
- 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);