-
Notifications
You must be signed in to change notification settings - Fork 879
Description
I'm using your tree map plug-in well. However, there were some problems with commercializing apps using the current tree map plug-in.
Problems:
- Symptoms of some tree map elements being obscured during update due to setstate((){})
- Rendering is slow.
- Symptoms of tree map data not being updated
I've created a tree map by implementing a source that fetches stock data every 7 seconds, but often some elements are not implemented and are obscured, as shown in the attached picture. It happens on the iPhone and Android, and there was no problem with my coding format.
Second, tree map rendering is very slow. In particular, if the initial rendering is very slow and more than 100 data make up the tree map element, a minimum delay of 500 ms will occur in drawing the tree map.
Third, the tree map is not updated with the normal setState((){}) method. I tried to implement the tile color to vary depending on the data, but the tree map was not updated. The widget is only updated by inserting a GlobalKey, but even this is very slow to update with the symptoms of a blinking screen.
If there's anything I'm missing about these symptoms, I'd appreciate it if you could give me tips on how to use them.