fl_echarts 0.3.0
fl_echarts: ^0.3.0 copied to clipboard
ECharts for Flutter — Android, iOS, macOS, Web & Windows. No JS knowledge needed. Powered by an embedded WebView.
0.3.0 #
- Re-add Web support via a custom
HtmlElementViewiframe — nowebview_flutter_webdependency, noaddJavaScriptChannellimitation. - Fix web rendering: use a
Blobobject URL instead ofsrcdocto safely load the 1 MB ECharts bundle. - Fix web:
runJavaScriptcommands are delivered to the iframe viapostMessage. - Re-add Windows support via
webview_windows. - Fix widget lifecycle on web: force a
setStateafterinit()so the iframe enters the DOM before waiting for thereadymessage. - Package now supports 5 platforms: Android, iOS, macOS, Web, Windows.
0.2.0 #
- BREAKING: Removed web support due to platform limitations.
- Improved error handling for unsupported platforms.
- Updated
isSupportedcheck to exclude web.
0.1.1 #
- Segregate platform implementations to improve package analysis score.
- Fix pubspec.yaml documentation links.
- Update example dependency to current version.
0.1.0 #
- Add macOS support (via
webview_flutter). - Fix critical bug:
echarts.initreceived undefinedchartDom; corrected to use thechartDOM element. - Fix
resizeChart()callingchart.resize()instead ofechart.resize(). - Add
didUpdateWidget— chart re-renders automatically whenoptionchanges; controller re-attaches on swap. - Fix
showLoadingJS string interpolation vulnerability (now usesjsonEncode). - Add timeout to
waitForEChartspolling loop to prevent infinite spin when asset fails. - Replace deprecated
withOpacitywithwithValues(alpha:). - Relax SDK constraint from
^3.7.2to^3.0.0. - Bump Flutter minimum to
>=3.10.0. - Write complete README with usage examples.
0.0.1 #
- Initial release with Android, iOS, and Windows support.