feature_flags_toggly 1.1.16 copy "feature_flags_toggly: ^1.1.16" to clipboard
feature_flags_toggly: ^1.1.16 copied to clipboard

Dart package that provides feature flags support for Flutter applications allowing you to enable and disable features easily. Can be used with or without Toggly.io.

140/ 160
pub points
1.86k
downloads

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

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

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

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

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

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

Detected license: BSD-3-Clause.

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

63 out of 97 API elements (64.9 %) have documentation comments.

Some symbols that are missing documentation: feature_flags_toggly.Feature.Feature.new, feature_flags_toggly.Feature.child, feature_flags_toggly.Feature.children, feature_flags_toggly.Feature.featureKeys, feature_flags_toggly.Feature.negate.

Passed check 10/10 points: Package has an example

Passed 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:feature_flags_toggly/feature_flags_toggly.dart that imports:
  • package:feature_flags_toggly/src/services/services.dart that imports:
  • package:feature_flags_toggly/src/services/sync_service.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.6 3.0.7 3.0.7
dio >=4.0.6 <6.0.0 5.9.2 5.9.2
dio_smart_retry >=1.3.2 <8.0.0 7.0.1 7.0.1
ecdsa ^0.1.2 0.1.2 0.1.2
elliptic ^0.3.11 0.3.12 0.3.12
equatable ^2.0.5 2.0.8 2.0.8
flutter_secure_storage >=6.0.0 <11.0.0 10.3.1 10.3.1
rxdart >=0.27.7 <1.0.0 0.28.0 0.28.0
uuid >=3.0.7 <5.0.0 4.5.3 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 1.2.1 1.2.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
ffi_leak_tracker - 0.1.2 0.1.2
fixnum - 1.1.1 1.1.1
flutter_secure_storage_darwin - 0.3.2 0.4.0
flutter_secure_storage_linux - 3.0.1 3.0.1
flutter_secure_storage_platform_interface - 2.0.1 2.0.1
flutter_secure_storage_web - 2.1.1 2.1.1
flutter_secure_storage_windows - 4.2.2 4.2.2
hooks - 2.0.2 2.0.2
http_parser - 4.1.2 4.1.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
mime - 2.0.0 2.0.0
ninja_asn1 - 2.0.0 2.0.0
objective_c - 9.4.1 9.4.1
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
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
record_use - 0.6.0 0.6.0
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.4.0
web - 1.1.1 1.1.1
win32 - 6.3.0 6.3.0
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.

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 3 errors:

  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/src/toggly.dart:539:16 - The name 'DioException' isn't defined, so it can't be used in an 'is' expression.
  • TYPE_TEST_WITH_UNDEFINED_NAME - lib/src/toggly.dart:545:23 - The name 'DioException' isn't defined, so it can't be used in an 'is' expression.
  • NON_TYPE_IN_CATCH_CLAUSE - lib/src/toggly.dart:651: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.23.12, Flutter 3.44.0, Dart 3.12.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
8
likes
140
points
1.86k
downloads

Documentation

API reference

Publisher

verified publishertoggly.io

Weekly Downloads

Dart package that provides feature flags support for Flutter applications allowing you to enable and disable features easily. Can be used with or without Toggly.io.

Homepage

License

BSD-3-Clause (license)

Dependencies

crypto, dio, dio_smart_retry, ecdsa, elliptic, equatable, flutter, flutter_secure_storage, rxdart, uuid

More

Packages that depend on feature_flags_toggly