riverpod_widget 0.0.2 copy "riverpod_widget: ^0.0.2" to clipboard
riverpod_widget: ^0.0.2 copied to clipboard

A library built on top of Flutter that allows all widgets to automatically rebuild when corresponding providers notified, making state management easier and more efficient.

40/ 160
pub points
12
downloads

We analyzed this package 32 hours ago, and awarded it 40 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: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting riverpod_widget... Discovering libraries... Linking elements... Precaching local docs for 704700 elements... Initialized dartdoc with 1128 libraries Generating docs for library riverpod_cupertino.dart from package:riverpod_widget/riverpod_cupertino.dart... Generating docs for library wrapper.dart from package:riverpod_widget/wrapper.dart... Generating docs for library material/grid_tile.dart from package:riverpod_widget/material/grid_tile.dart... Generating docs for library material/choice_chip.dart from package:riverpod_widget/material/choice_chip.dart... Generating docs for library material/input_decorator.dart from package:riverpod_widget/material/input_decorator.dart... [283 more lines] ERR: warning: riverpod_widget has no library level documentation comments from riverpod_widget: (file:///tmp/pana_TRQRKC/lib/riverpod_cupertino.dart:1:1) warning: riverpod_widget has no library level documentation comments from riverpod_widget: (file:///tmp/pana_TRQRKC/lib/wrapper.dart:1:1) error: file already written at "riverpod_widget/index.html" for symbol riverpod_widget: (file:///tmp/pana_TRQRKC/lib/wrapper.dart:1:1) conflicting with file already generated by riverpod_widget: (file:///tmp/pana_TRQRKC/lib/riverpod_cupertino.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'riverpod_widget' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [3157 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

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

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

Found 22 issues. Showing the first 2:

ERROR: 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.

lib/cupertino/sliding_segmented_control.dart:33:67

   ╷
33 │           builder: (args) => _i1.CupertinoSlidingSegmentedControl<T>(
   │                                                                   ^
   ╵

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

ERROR: The named parameter 'iconAlignment' isn't defined.

lib/material/elevated_button.dart:54:13

   ╷
54 │             iconAlignment: args(#iconAlignment),
   │             ^^^^^^^^^^^^^
   ╵

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

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
flutter_riverpod ^2.5.1 2.6.1 3.3.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
riverpod - 2.6.1 3.2.1
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
vector_math - 2.2.0 2.3.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.5.1` on flutter_riverpod does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions flutter_riverpod 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 14 errors:

  • TYPE_ARGUMENT_NOT_MATCHING_BOUNDS - lib/cupertino/sliding_segmented_control.dart:33:67 - 'T' doesn't conform to the bound 'Object' of the type parameter 'T'.
  • UNDEFINED_NAMED_PARAMETER - lib/material/elevated_button.dart:54:13 - The named parameter 'iconAlignment' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/material/filled_button.dart:54:13 - The named parameter 'iconAlignment' isn't defined.

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.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
40
points
12
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A library built on top of Flutter that allows all widgets to automatically rebuild when corresponding providers notified, making state management easier and more efficient.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, flutter_riverpod

More

Packages that depend on riverpod_widget