superset_bridge 1.7.0
superset_bridge: ^1.7.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.
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
18 out of 28 API elements (64.3 %) have documentation comments.
Some symbols that are missing documentation: superset_bridge, superset_bridge.SupersetBridgeConfig.SupersetBridgeConfig.new, superset_bridge.SupersetBridgeController.SupersetBridgeController.new, superset_bridge.SupersetBridgeController.attach, superset_bridge.SupersetBridgeController.dispose.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
10/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Linux`.
Because:
package:superset_bridge/superset_bridge.dartthat imports:package:superset_bridge/src/superset_bridge_controller.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:superset_bridge/superset_bridge.dartthat imports:package:superset_bridge/src/superset_bridge_controller.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
WASM compatibility:
Package not compatible with runtime wasm
Because:
package:superset_bridge/superset_bridge.dartthat imports:package:superset_bridge/src/superset_bridge_controller.dartthat imports:package:flutter_inappwebview/flutter_inappwebview.dartthat imports:package:flutter_inappwebview/src/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/main.dartthat imports:package:flutter_inappwebview/src/webview_environment/webview_environment.dartthat imports:package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dartthat imports:package:flutter_inappwebview_platform_interface/src/main.dartthat imports:package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dartthat imports:dart:io
Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.
50/50 points: code has no errors, warnings, lints, or formatting issues
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
excel |
>=4.0.0 <5.0.0 |
4.0.6 | 4.0.6 | |
flutter_inappwebview |
>=6.0.0 <7.0.0 |
6.1.5 | 6.1.5 | |
intl |
>=0.18.0 <1.0.0 |
0.20.2 | 0.20.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.9 | |
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
equatable |
- | 2.0.8 | 2.0.8 | |
flutter_inappwebview_android |
- | 1.1.3 | 1.1.3 | |
flutter_inappwebview_internal_annotations |
- | 1.3.0 | 1.3.0 | |
flutter_inappwebview_ios |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_macos |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_platform_interface |
- | 1.3.0+1 | 1.3.0+1 | |
flutter_inappwebview_web |
- | 1.1.2 | 1.1.2 | |
flutter_inappwebview_windows |
- | 0.6.0 | 0.6.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 3 errors:
UNDEFINED_IDENTIFIER-lib/src/superset_excel_template.dart:31:27- Undefined name 'ExcelColor'.UNDEFINED_IDENTIFIER-lib/src/superset_excel_template.dart:36:21- Undefined name 'ExcelColor'.UNDEFINED_IDENTIFIER-lib/src/superset_excel_template.dart:42:27- Undefined name 'ExcelColor'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.