superset_bridge 1.8.0
superset_bridge: ^1.8.0 copied to clipboard
A Flutter package that embeds Apache Superset dashboards inside a WebView with automatic dark/light theme support. Applies a CSS filter technique to work around cross-origin iframe restrictions.
Changelog #
1.7.0 #
-
Fixed theme switch bug: meta color-scheme is now dynamic so dark ↔ light transitions work correctly in WebView. Added explanation to docs.
-
Breaking change: Removed CSS
invert(1) hue-rotate(180deg)filter hack for dark mode. Newer Superset versions natively support dark/light themes viaurlParams.theme. The actual Flutter theme is now passed directly to Superset'sembedDashboard()call. The body CSS class is only used for background colour styling.
1.4.0 #
_ Added languageCode parameter to SupersetBridgeConfig and related APIs;
and change color dark mode for superset background.
1.3.0 #
- Added
languageCodeparameter toSupersetBridgeConfigand related APIs; value is sent as thelangURL param. Provided convenience handling in HTML generator, controller, and JS bridge functions.
1.2.0 #
- Introduced
SupersetBridgeConfig— a JSON-serialisable config object that replaces individual named parameters across all APIs. - Added
extraUrlParams: Map<String, dynamic>— any project can now pass custom Superset URL params (e.g.lang,orgId, feature flags) without changing the library. SupersetBridgeHtmlContent.generate()now accepts a singleSupersetBridgeConfigargument.SupersetBridgeController.initWithTokenFetch()andinit()now acceptSupersetBridgeConfiginstead of individual named parameters.SupersetBridgeConfigsupportsfromJson,toJson, andcopyWith.
1.0.0 #
- Initial release of superset_bridge Flutter package.
- HTML/JS bridge for embedding Superset dashboards.
- Dark/light theme support with CSS filter.
- Controller and HTML generator.