riverpod_annotation 4.0.7
riverpod_annotation: ^4.0.7 copied to clipboard
A package exposing annotations for riverpod_generator
We analyzed this package 4 days ago, and awarded it 130 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
155 out of 161 API elements (96.3 %) have documentation comments.
Some symbols that are missing documentation: json_persist, persist, riverpod_annotation, riverpod_annotation.$StreamNotifierProvider.notifier, riverpod_annotation.AnyNotifier.AnyNotifier.new.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 32 issues. Showing the first 2:
WARNING: The member '$AsyncClassModifier' can't be exported as a part of a package's public API.
lib/riverpod_annotation.dart:8:1
╷
8 │ ┌ export './src/internal.dart'
9 │ │ show
10 │ │ // ignore: invalid_export_of_internal_element
11 │ │ $Ref,
12 │ │ // ignore: invalid_export_of_internal_element
13 │ │ $ClassProviderElement,
14 │ │ // General stuff
15 │ │ ProviderContainer,
16 │ │ // ignore: invalid_export_of_internal_element
17 │ │ $Family,
18 │ │ ProviderOrFamily,
19 │ │ Override,
20 │ │ // ignore: invalid_export_of_internal_element
21 │ │ $FamilyOverride,
22 │ │ // ignore: invalid_export_of_internal_element
23 │ │ $FunctionalProvider,
│ └─────────────────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/riverpod_annotation.dart
WARNING: The member '$AsyncNotifier' can't be exported as a part of a package's public API.
lib/riverpod_annotation.dart:8:1
╷
8 │ ┌ export './src/internal.dart'
9 │ │ show
10 │ │ // ignore: invalid_export_of_internal_element
11 │ │ $Ref,
12 │ │ // ignore: invalid_export_of_internal_element
13 │ │ $ClassProviderElement,
14 │ │ // General stuff
15 │ │ ProviderContainer,
16 │ │ // ignore: invalid_export_of_internal_element
17 │ │ $Family,
18 │ │ ProviderOrFamily,
19 │ │ Override,
20 │ │ // ignore: invalid_export_of_internal_element
21 │ │ $FamilyOverride,
22 │ │ // ignore: invalid_export_of_internal_element
23 │ │ $FunctionalProvider,
│ └─────────────────────^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/riverpod_annotation.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
meta |
^1.15.0 |
1.19.0 | 1.19.0 | |
riverpod |
3.4.3 |
3.4.3 | 3.4.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
clock |
- | 1.1.3 | 1.1.3 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
listen |
- | 1.0.1 | 1.0.1 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
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.14 | 0.7.14 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.6.0 | 4.6.0 |
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.23.19, Dart 3.13.1.
Check the analysis log for details.