uptech_growthbook_sdk_flutter 1.2.0
uptech_growthbook_sdk_flutter: ^1.2.0 copied to clipboard
A thin wrapper around GrowthBook's Flutter SDK to support automated testing
We analyzed this package 20 hours ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
6 out of 12 API elements (50.0 %) have documentation comments.
Some symbols that are missing documentation: uptech_growthbook_sdk_flutter
, uptech_growthbook_sdk_flutter.UptechGrowthBookWrapper.UptechGrowthBookWrapper.new
, uptech_growthbook_sdk_flutter.UptechGrowthBookWrapper.apiHost
, uptech_growthbook_sdk_flutter.UptechGrowthBookWrapper.clientKey
, uptech_growthbook_sdk_flutter.UptechGrowthBookWrapper.setAttributes
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:uptech_growthbook_sdk_flutter/uptech_growthbook_sdk_flutter.dart
that imports:package:uptech_growthbook_sdk_flutter/src/uptech_growthbook_wrapper.dart
that imports:package:uptech_growthbook_sdk_flutter/src/uptech_growthbook_wrapper_test_client.dart
that imports:package:growthbook_sdk_flutter/growthbook_sdk_flutter.dart
that imports:package:growthbook_sdk_flutter/src/growth_book_sdk.dart
that imports:package:growthbook_sdk_flutter/src/StickyBucketService/sticky_bucket_service.dart
that imports:package:growthbook_sdk_flutter/src/Cache/caching_manager.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
ERROR: The argument type 'void Function(GBTrackData, dynamic)' can't be assigned to the parameter type 'TrackingCallBack'.
lib/src/uptech_growthbook_wrapper.dart:112:41
╷
112 │ growthBookTrackingCallBack: (gbExperiment, gbExperimentResult) {})
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/uptech_growthbook_wrapper.dart
ERROR: The named parameter 'gbFeatures' is required, but there's no corresponding argument.
lib/src/uptech_growthbook_wrapper.dart:115:9
╷
115 │ app.featuresFetchedSuccessfully(_seedsToGBFeatures(seeds: seeds));
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/uptech_growthbook_wrapper.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
growthbook_sdk_flutter |
^3.0.0+0 |
3.9.10 | 3.9.10 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
_fe_analyzer_shared |
- | 85.0.0 | 85.0.0 | |
analyzer |
- | 7.5.3 | 7.5.3 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
built_collection |
- | 5.1.1 | 5.1.1 | |
built_value |
- | 8.10.1 | 8.10.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
code_builder |
- | 4.10.1 | 4.10.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
dart_style |
- | 3.1.0 | 3.1.0 | |
dio |
- | 5.8.0+1 | 5.8.0+1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
glob |
- | 2.1.3 | 2.1.3 | |
graphs |
- | 2.3.2 | 2.3.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
json_annotation |
- | 4.9.0 | 4.9.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
pigeon |
- | 25.5.0 | 25.5.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
pointycastle |
- | 3.9.1 | 4.0.0 | |
pub_semver |
- | 2.2.0 | 2.2.0 | |
shared_preferences |
- | 2.5.3 | 2.5.3 | |
shared_preferences_android |
- | 2.4.10 | 2.4.10 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.6 | 0.7.6 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.2.0 | |
watcher |
- | 1.1.2 | 1.1.2 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.