Comments (6)
Sorry currently there is nothing like that, but it would be soon..
from flutter_tex.
I am having this issue as well. It would be really cool if we could re-render the TeXView
when the input data (teXHTML
) changes.
from flutter_tex.
So I have tried wrapping the TeXView
in StatefulWidget
and also a Consumer
widget but I can't force the TeXView
to be rebuilt. Is there any way I can achieve this?
from flutter_tex.
@takdw
So I managed to get something working, still not sure if it is an efficient solution.
My need was to have the TexView change as the user types text (or presses buttons like a calculator, still working on the input) and have the TexView change to show the appropriate TeX rendered.
Look up the WebView documentation and look into the WebViewController and its loadUrl Method.
I used the BLoC pattern to handle this documentation.
Although I think I ended up using a pure WebViewController and borrowing code from the TexView. When you create a WebView you can get the controller for it. I would have to look into the documentation. Let me know if this helps you get started.
from flutter_tex.
loadUrl method wont work as that don't support laod from assets, if you want this you have to go to prior version before removing the server. as server makes it to load very slow, so I removed that and customized it to load directly from assets without server..
from flutter_tex.
Now this you can rerender or refresh the TeXView on setState, Please install latest version
flutter_tex: ^1.0.9
.
from flutter_tex.
Related Issues (20)
- TeXViewGroup how to clear the selected option or initialise the selected option if the user is revisiting the question HOT 2
- Cannot render HOT 4
- how to create this without use more than one texview
- r""" <h2>(D) \( a_0 = \frac{{\hbar }}{{m_e ke^2 }} \)</h2>"""
- If it is not English, the custom font does not work
- Custom Fonts Do Not Work
- Please update the package to latest version 🙏 HOT 2
- On web, using multiple TeXViews does not work. Only the last will render. HOT 6
- On android,\begin{align} environment does not work HOT 1
- my app getting crashed HOT 2
- Oh bhai mere update krdo is ko Meherbani kro HOT 1
- TeXView Widget takes more space than needed at the bottom in ListView.builder
- TeXView is selectable by default when hover over it in flutter web HOT 1
- in web in texview not takes proper height likes in container which has box constraints with min and mx height it always takes min height HOT 1
- webview_flutter_plus dependency issues in other packages HOT 2
- i want to disable right click on texview in flutter web HOT 1
- I can't display math images
- Does this package support all HTML tags? HOT 1
- images not rendering properly HOT 1
- Try to put Arabic or Kurdish text inside TeXView HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_tex.