flutter_tex
flutter_tex copied to clipboard
loadingWidgetBuilder adds a lot of space under content
Using the loadingWidgetBuilder to show a text or spinner while data loads puts a lot of space under the content when loading completes.
How can we remove this unwanted space under?
Here is the code
Container(
margin: EdgeInsets.only(top: 5),
padding: EdgeInsets.all(10),
width: double.infinity,
child: TeXView(
loadingWidgetBuilder: (BuildContext ctx) {
return const Center(child: CircularProgressIndicator());
},
style: TeXViewStyle(fontStyle: TeXViewFontStyle(fontSize: 25)),
renderingEngine: const TeXViewRenderingEngine.mathjax(),
child: TeXViewDocument(questionText),
),
),
Please see the image below.
Have you solved this issue?
@bijoya-banik Yes, I solved the issue with a different package. I had to discontinue using flutter_tex as obviously, the package is no longer supported. Thanks for your concern
What package did you use instead?
@Seamate which package please let us know