I'm using flutter wub with flutter run -d chrome --dart-define=FLUTTER_WEB_USE_SKIA=true I need canvaskit for my richtext editor, there are some know issues if you don't use it : https://github.com/flutter/flutter/issues/49860 if you test this example app on flutter web with
flutter run -d chrome --dart-define=FLUTTER_WEB_USE_SKIA=true import 'package:flutter/material.dart'; import 'package:catex/catex.dart'; class CatexExample extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( body: Center( child: CaTeX(r'sum'), ), ); } }
you need :
catex: ^0.0.1+7
if anyone has a solution to display latex with canvaskit enabled..
Okay if anyone has the same problem, i switched to flutter_math and it works!
flutter_math
2.1m questions
2.1m answers
60 comments
57.0k users