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.

60/ 160
pub points
2
downloads

We analyzed this package 6 hours ago, and awarded it 60 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 701218 elements... Initialized dartdoc with 1121 libraries Generating docs for library riverpod_material.dart from package:riverpod_widget/riverpod_material.dart... Generating docs for library widgets/sliver_prototype_extent_list.dart from package:riverpod_widget/widgets/sliver_prototype_extent_list.dart... Generating docs for library widgets/keyboard_listener.dart from package:riverpod_widget/widgets/keyboard_listener.dart... Generating docs for library widgets/container.dart from package:riverpod_widget/widgets/container.dart... Generating docs for library widgets/decorated_sliver.dart from package:riverpod_widget/widgets/decorated_sliver.dart... [283 more lines] ERR: warning: riverpod_widget has no library level documentation comments from riverpod_widget: (file:///tmp/pana_TQXXHH/lib/riverpod_material.dart:1:1) warning: rxflutterify has no library level documentation comments from rxflutterify: (file:///tmp/pana_TQXXHH/lib/widgets/sliver_prototype_extent_list.dart:1:1) warning: rxflutterify has no library level documentation comments from rxflutterify: (file:///tmp/pana_TQXXHH/lib/widgets/keyboard_listener.dart:1:1) error: file already written at "rxflutterify/index.html" for symbol rxflutterify: (file:///tmp/pana_TQXXHH/lib/widgets/keyboard_listener.dart:1:1) conflicting with file already generated by rxflutterify: (file:///tmp/pana_TQXXHH/lib/widgets/sliver_prototype_extent_list.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [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.

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:riverpod_widget/riverpod_cupertino.dart that imports:
  • package:riverpod_widget/riverpod_widgets.dart that imports:
  • package:riverpod_widget/widgets/image.dart that imports:
  • dart:io
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.2.0
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.17.0 1.18.0
path - 1.9.1 1.9.1
riverpod - 2.6.1 3.2.0
stack_trace - 1.12.1 1.12.1
state_notifier - 1.0.0 1.0.0
vector_math - 2.2.0 2.2.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.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
60
points
2
downloads

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

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_riverpod

More

Packages that depend on riverpod_widget