qora_hooks 0.7.0 copy "qora_hooks: ^0.7.0" to clipboard
qora_hooks: ^0.7.0 copied to clipboard

flutter_hooks integration for qora. useQuery, useMutation, useQueryClient and useInfiniteQuery.

70/ 160
pub points
223
downloads

We analyzed this package 4 days ago, and awarded it 70 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

26 out of 28 API elements (92.9 %) have documentation comments.

Some symbols that are missing documentation: qora_hooks.InfiniteQueryHandle.InfiniteQueryHandle.new, qora_hooks.MutationHandle.MutationHandle.new.

Passed check 10/10 points: Package has 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

ERROR: The getter 'isFetchingCount' isn't defined for the type 'QoraClient'.

lib/src/hooks/use_is_fetching.dart:30:33

   ╷
30 │   final count = useState(client.isFetchingCount);
   │                                 ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hooks/use_is_fetching.dart

ERROR: The getter 'fetchingCountStream' isn't defined for the type 'QoraClient'.

lib/src/hooks/use_is_fetching.dart:33:24

   ╷
33 │     final sub = client.fetchingCountStream.listen((c) => count.value = c);
   │                        ^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/hooks/use_is_fetching.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Partially passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
flutter_hooks ^0.21.2 0.21.3+1 0.21.3+1
qora_flutter ^0.7.0 0.7.0 0.8.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
connectivity_plus - 7.1.0 7.1.0
connectivity_plus_platform_interface - 2.1.0 2.1.0
dbus - 0.7.12 0.7.12
ffi - 2.2.0 2.2.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
nm - 0.5.0 0.5.0
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
qora - 0.6.0 0.8.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

The constraint `^0.7.0` on qora_flutter does not support the stable version `0.8.0`, that was published 18 days ago.

When qora_flutter is 30 days old, this package will no longer be awarded points in this category.

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

  • UNDEFINED_GETTER - lib/src/hooks/use_is_fetching.dart:30:33 - The getter 'isFetchingCount' isn't defined for the type 'QoraClient'.
  • UNDEFINED_GETTER - lib/src/hooks/use_is_fetching.dart:33:24 - The getter 'fetchingCountStream' isn't defined for the type 'QoraClient'.

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:
0
likes
70
points
223
downloads

Documentation

API reference

Publisher

verified publishermeragix.dev

Weekly Downloads

flutter_hooks integration for qora. useQuery, useMutation, useQueryClient and useInfiniteQuery.

Repository (GitHub)
View/report issues
Contributing

License

MIT (license)

Dependencies

flutter, flutter_hooks, qora_flutter

More

Packages that depend on qora_hooks