riverpod_builder 0.2.1
riverpod_builder: ^0.2.1 copied to clipboard
the package to use Riverpod's Provider like the ListView and PageView widgets.We believe that Flutter development can handle it easily.
We analyzed this package 8 hours ago, and awarded it 140 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: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT:
Documenting riverpod_builder...
Discovering libraries...
Linking elements...
Precaching local docs for 669411 elements...
Initialized dartdoc with 824 libraries
Generating docs for library builder/builder.dart from package:riverpod_builder/builder/builder.dart...
Generating docs for library builder/src/auto_dispose_notifier/riverpod_builder.dart from package:riverpod_builder/builder/src/auto_dispose_notifier/riverpod_builder.dart...
Generating docs for library builder/src/notifier/keep_riverpod_builder.dart from package:riverpod_builder/builder/src/notifier/keep_riverpod_builder.dart...
Generating docs for library log/src/color_log.dart from package:riverpod_builder/log/src/color_log.dart...
Generating docs for library log/log.dart from package:riverpod_builder/log/log.dart...
[4 more lines]
ERR:
error: file already written at "riverpod_builder/index.html"
for symbol riverpod_builder: (file:///tmp/pana_TUQSBD/lib/log/log.dart:1:1)
conflicting with file already generated by riverpod_builder: (file:///tmp/pana_TUQSBD/lib/builder/builder.dart:1:1)
Dartdoc generates a path and filename to write to for each symbol.
'riverpod_builder' conflicts with another symbol in the generated path,
and therefore can not be written out. Changing the name, library name,
or class name (if appropriate) of one of the conflicting items can
resolve the conflict. Alternatively, use the @nodoc
directive in one
symbol's documentation comment to hide it.
error: file already written at "riverpod_builder/riverpod_builder-library.html"
[32 more lines]
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:riverpod_builder/riverpod_builder.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:riverpod_builder/riverpod_builder.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:riverpod_builder/riverpod_builder.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:riverpod_builder/riverpod_builder.dart
that declares support for platforms:Android
,iOS
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/builder/src/auto_dispose_notifier/riverpod_builder.dart:40:11
╷
40 │ ref.read(widget.provider.notifier).showLog = widget.showLog;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/builder/src/auto_dispose_notifier/riverpod_builder.dart
INFO: Statements in an if should be enclosed in a block.
lib/builder/src/notifier/keep_riverpod_builder.dart:40:11
╷
40 │ ref.read(widget.provider.notifier).showLog = widget.showLog;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/builder/src/notifier/keep_riverpod_builder.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flutter_riverpod |
>=2.1.3 <3.0.0 |
2.6.1 | 2.6.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
riverpod |
- | 2.6.1 | 2.6.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
state_notifier |
- | 1.0.0 | 1.0.0 | |
vector_math |
- | 2.1.4 | 2.2.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.22.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.