flutter_query_client 1.2.0
flutter_query_client: ^1.2.0 copied to clipboard
A TanStack Query-inspired server state management library for Flutter. Handles caching, background refetching, pagination, mutations, and network-aware fetching out of the box.
We analyzed this package 4 days ago, and awarded it 150 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
199 out of 312 API elements (63.8 %) have documentation comments.
Some symbols that are missing documentation: flutter_query_client, flutter_query_client.CachedQueryData, flutter_query_client.CachedQueryData.CachedQueryData.new, flutter_query_client.CachedQueryData.data, flutter_query_client.CachedQueryData.fetchTime.
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:flutter_query_client/flutter_query_client.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:flutter_query_client/flutter_query_client.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:flutter_query_client/flutter_query_client.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:flutter_query_client/flutter_query_client.dartthat declares support for platforms:Android,iOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:flutter_query_client/flutter_query_client.dartthat imports:package:flutter_query_client/src/network/network_connectivity_observer.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:flutter_query_client/flutter_query_client.dartthat imports:package:flutter_query_client/src/network/network_connectivity_observer.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'of' is deprecated and shouldn't be used. Use TickerMode.valuesOf to get both enabled and forceFrames. This feature was deprecated after v3.35.0-0.0.pre.
lib/src/providers/infinite_query_provider.dart:27:33
╷
27 │ final isActive = TickerMode.of(context) && Visibility.of(context);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/infinite_query_provider.dart
INFO: 'of' is deprecated and shouldn't be used. Use TickerMode.valuesOf to get both enabled and forceFrames. This feature was deprecated after v3.35.0-0.0.pre.
lib/src/providers/query_provider.dart:24:33
╷
24 │ final isActive = TickerMode.of(context) && Visibility.of(context);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/providers/query_provider.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^9.0.0 |
9.2.1 | 9.2.1 | |
connectivity_plus |
^7.1.1 |
7.1.1 | 7.1.1 | |
flutter_bloc |
^9.1.1 |
9.1.1 | 9.1.1 | |
freezed_annotation |
^3.0.0 |
3.1.0 | 3.1.0 | |
internet_connection_checker_plus |
^3.0.0 |
3.0.0 | 3.0.0 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 | |
meta |
^1.16.0 |
1.18.0 | 1.18.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.1 | 2.13.1 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
connectivity_plus_platform_interface |
- | 2.1.0 | 2.1.0 | |
dbus |
- | 0.7.13 | 0.7.13 | |
ffi |
- | 2.2.0 | 2.2.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
nested |
- | 1.0.0 | 1.0.0 | |
nm |
- | 0.5.0 | 0.5.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 7.0.2 | 7.0.2 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
provider |
- | 6.1.5+1 | 6.1.5+1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xml |
- | 7.0.1 | 7.0.1 |
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.12, Flutter 3.44.0, Dart 3.12.0.
Check the analysis log for details.