You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Can you help me change the definition of toTextSpan method. I want to change the theme based on the dark and light theme which would be only posssible with the below code:
Hi there,
Can you help me change the definition of toTextSpan method. I want to change the theme based on the dark and light theme which would be only posssible with the below code:
static TextSpan toTextSpan(BuildContext context, String htmlContent,TextStyle textStyle,
{Function linksCallback}) {
Parser p = Parser(context, htmlContent, linksCallback: linksCallback);
return TextSpan(style:textStyle, text: "", children: p.parse());
}
The text was updated successfully, but these errors were encountered: