A Flutter Package to render Latex text by Katex Lib: online documentation. It is used for Android. For IOS you can use lib plug-in package
Widget buildText(String text) {
print("TEXT $text");
return SizedBox(
child: MathTex( // MathTex init here
text: text,
fontSize: 15,
),
height: 35,
);
}