flutter_tex
flutter_tex copied to clipboard
Clicking buttons don't work with flutter_tex
Question: Are you using the latest version of flutter_tex package?
Answer: Yes
Buttons whose child is a TeXViewDocument are not clickable. Only the space outside the button or edge of the button is clickable. The main body of the button is not clickable. This makes it extremely difficult to use flutter_tex on a quiz app.
@Seamate I am facing the same issue. Did you find any solution?
i have solve it by this way: Stack( children: [ TeXView( renderingEngine: TeXViewRenderingEngine.katex(), child: TeXViewDocument("
", ), ), GestureDetector( onTap: //your function, child: Container( color: Colors.transparent, width: MediaQuery.of(context).size.width, height: //your button height,)) ], )