RichTextBuilder.ofTextTheme constructor
RichTextBuilder.ofTextTheme({
- required BuildContext context,
- required TextTheme textTheme,
- Color? lightColor,
- TextStyle? start,
Implementation
RichTextBuilder.ofTextTheme({required this.context, required this.textTheme, Color? lightColor, TextStyle? start})
: lightStyle2 = textTheme.bodyText2!.copyWith(color: lightColor ?? _lightColor),
lightStyle1 = textTheme.bodyText1!.copyWith(color: lightColor ?? _lightColor),
_temp = start;