growthbook_sdk_flutter 3.9.10 copy "growthbook_sdk_flutter: ^3.9.10" to clipboard
growthbook_sdk_flutter: ^3.9.10 copied to clipboard

An open-source feature flagging and experimentation platform that makes it simple to alter features and execute A/B testing.

17
likes
105/ 160
pub points
53.5k
downloads

We analyzed this package 2 days ago, and awarded it 105 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:465:55

    ╷
465 │ <p>This SDK was originally contributed by the team at <a href="http://alippo.com/">Alippo</a> and others. You can find the original repo here: <a href="https://github.com/alippo-com/GrowthBook-SDK-Flutter">github.com/alippo-com/GrowthBook-SDK-Flutter</a></p>
    │                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

Use https URLs instead.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

149 out of 352 API elements (42.3 %) have documentation comments.

Some symbols that are missing documentation: growthbook_sdk_flutter, growthbook_sdk_flutter.AESCryptor, growthbook_sdk_flutter.AESCryptor.AESCryptor.new, growthbook_sdk_flutter.AESCryptor.decrypt, growthbook_sdk_flutter.AssignedExperiment.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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: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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • 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

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 30 issues. Showing the first 2:

WARNING: The value of the field '_attributeOverrides' isn't used.

lib/src/growth_book_sdk.dart:140:24

    ╷
140 │   Map<String, dynamic> _attributeOverrides;
    │                        ^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/growth_book_sdk.dart

/tmp/pana_AJJGYU/lib/src/Evaluator/condition_evaluator.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dio ^5.0.0 5.8.0+1 5.8.0+1
equatable ^2.0.7 2.0.7 2.0.7
json_annotation ^4.9.0 4.9.0 4.9.0
pigeon any 25.5.0 25.5.0
pointycastle ^3.1.3 3.9.1 4.0.0
shared_preferences ^2.2.3 2.5.3 2.5.3
tuple ^2.0.2 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 85.0.0 85.0.0
analyzer - 7.5.2 7.5.2
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_web_adapter - 2.1.1 2.1.1
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
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
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
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.

The constraint `^3.1.3` on pointycastle does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions pointycastle to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • NON_TYPE_IN_CATCH_CLAUSE - lib/src/Network/network.dart:106:10 - The name 'DioException' isn't a type and can't be used in an on-catch clause.

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.22.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
17
likes
105
points
53.5k
downloads

Publisher

verified publishergrowthbook.io

Weekly Downloads

An open-source feature flagging and experimentation platform that makes it simple to alter features and execute A/B testing.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dio, equatable, flutter, json_annotation, pigeon, pointycastle, shared_preferences, tuple

More

Packages that depend on growthbook_sdk_flutter