rdev_feature_toggles 0.3.2
rdev_feature_toggles: ^0.3.2 copied to clipboard
This package provides a simple way use feature togges in Firestore
We analyzed this package 14 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/r-dev-limited/placebo-life was unreachable. Make sure that the website is reachable via HEAD requests.
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: BSD-3-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
11 out of 53 API elements (20.8 %) have documentation comments.
Some symbols that are missing documentation: feature_toggle_entry_model, feature_toggle_entry_model.FeatureToggleEntryModel, feature_toggle_entry_model.FeatureToggleEntryModel.FeatureToggleEntryModel.new, feature_toggle_entry_model.FeatureToggleEntryModel.name, feature_toggle_entry_model.FeatureToggleEntryModel.value.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:rdev_feature_toggles/application/feature_toggles_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:firebase_messaging/firebase_messaging.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:rdev_feature_toggles/application/feature_toggles_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:firebase_storage/firebase_storage.dartthat declares support for platforms:Android,iOS,Windows,macOS,Web.
Package not compatible with platform Web
Because:
package:rdev_feature_toggles/application/feature_toggles_data_service.dartthat imports:package:rdev_riverpod_firebase/firebase_providers.dartthat imports:package:hooks_riverpod/hooks_riverpod.dartthat imports:package:hooks_riverpod/src/internals.dartthat imports:package:flutter_riverpod/src/internals.dartthat imports:package:flutter_riverpod/src/core.dartthat imports:package:flutter_test/flutter_test.dartthat imports:package:flutter_test/src/widget_tester.dartthat imports:package:flutter_test/src/test_text_input.dartthat imports:package:flutter_test/src/test_text_input_key_handler.dartthat imports:package:flutter_test/src/binding.dartthat imports:package:flutter_test/src/platform.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
WARNING: Returning a 'Future' without 'await' inside a try block.
lib/application/feature_toggles_data_service.dart:274:7
╷
274 │ return userFeatureToggleRef.doc(toggleId).delete();
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/application/feature_toggles_data_service.dart
INFO: Missing type annotation.
lib/domain/feature_toggle_vo.dart:37:3
╷
37 │ toJSON() {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/domain/feature_toggle_vo.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
6.1.3 |
6.1.3 | 6.10.0 | |
equatable |
^2.0.7 |
2.1.0 | 3.0.0 | |
hooks_riverpod |
^3.1.0 |
3.4.3 | 3.4.3 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
rdev_errors_logging |
any |
0.3.0 | 0.3.0 | |
rdev_helpers |
any |
0.3.1 | 0.3.1 | |
rdev_riverpod_firebase |
any |
0.5.2 | 0.5.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `6.1.3` on cloud_firestore does not support the stable version `6.2.0`.
Try running dart pub upgrade --major-versions cloud_firestore to update the constraint.
The constraint `^2.0.7` on equatable does not support the stable version `3.0.0`, that was published 0 days ago.
When equatable is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions equatable to update the constraint.
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.23.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.