Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot render #143

Open
ambuu opened this issue Jan 30, 2023 · 4 comments
Open

Cannot render #143

ambuu opened this issue Jan 30, 2023 · 4 comments

Comments

@ambuu
Copy link

ambuu commented Jan 30, 2023

Latex version: ^4.0.3+4
Flutter version: 3.3.6
Device: Xiomi Redmi note 8 pro

return Scaffold(
      body: SingleChildScrollView(
        physics: BouncingScrollPhysics(),
        child: SafeArea(
            child: Column(
          children: [
            SizedBox(height: 10),
            Padding(
              padding: const EdgeInsets.symmetric(horizontal: 12),
              child: Row(
                children: [
                  CupertinoButton(
                    padding: EdgeInsets.all(0),
                    color: PColors.background,
                    borderRadius: BorderRadius.circular(8),
                    child: SvgPicture.asset(
                      'assets/icons/ic_back_new.svg',
                    ),
                    onPressed: () {
                      Navigator.pop(context);
                    },
                  ),
                  Spacer(),
                  CountDown()
                ],
              ),
            ),
            // TeXViewQuizExample(),
            SizedBox(
              width: 320,
              child: TeXView(
                child: TeXViewMarkdown(
                  "A cart of mass \\\\(m_c\\\\) is travelling along at velocity \\\\(v_1\\\\). As it is travelling, a stack of bricks of mass \\\\(m_b\\\\) is placed onto the cart. The cart and the stack of bricks then travel on at some new lower velocity \\\\(v_2\\\\)\nWhat has happened to the momentum of the cart?   \n",
                  style: TeXViewStyle(
                    contentColor: Colors.grey[700],
                    padding: TeXViewPadding.only(top: 6, bottom: 6),
                    fontStyle: TeXViewFontStyle(
                      fontSize: 11,
                      sizeUnit: TeXViewSizeUnit.pixels,
                      fontFamily: 'Poppins',
                    ),
                  ),
                ),
              ),

Screenshot_2023-01-30-08-06-18-985_com bytelinks asky

@lucamarchionna
Copy link

lucamarchionna commented Feb 4, 2023

Same problem for me.
Flutter version: 3.7.1
Latex version: ^4.0.3+4

@samieruashovo
Copy link

Same problem here

@fajarainul
Copy link

same here, any workaround?

@asrayev
Copy link

asrayev commented Jul 16, 2023

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants