google_analystic_charts 0.0.1
google_analystic_charts: ^0.0.1 copied to clipboard
Plugin Flutter para exibir Google Charts (gráficos do Google) em Android, iOS, macOS e Web, ideal para dados do Google Analytics (GA4) vindos do seu backend.
0.0.1 #
- Initial release of
google_analystic_charts. - Google Charts widget
GaChart(line/area/bar/column/pie/donut). - Rendering:
- Android/iOS/macOS via
webview_flutter(responsive HTML). - Web via
HtmlElementView+ loader.js injection.
- Android/iOS/macOS via
- HTML generator:
buildGoogleChartsHtml(...). - GA4 helpers:
ga4ReportToTable(response)to map RunReportResponse to table rows.Ga4DataClientwithrunReportWithTokenandrunReport(token provider).Ga4Chartwidget that fetches GA4 and renders automatically.- Web-only OAuth:
Ga4WebGsiTokenProvider(Google Identity Services).
- Example app updated with charts.
- README updated with no-backend usage and OAuth on Web.