flutter_tex icon indicating copy to clipboard operation
flutter_tex copied to clipboard

loadingWidgetBuilder adds a lot of space under content

Open Seamate opened this issue 2 years ago • 5 comments

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.

image

Seamate avatar Jun 09 '22 06:06 Seamate

Have you solved this issue?

bijoya-banik avatar Dec 25 '22 05:12 bijoya-banik

@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

Seamate avatar Dec 26 '22 10:12 Seamate

What package did you use instead?

vanman98 avatar Mar 10 '23 04:03 vanman98

@Seamate which package please let us know

todaysprint avatar Dec 12 '23 16:12 todaysprint