flutter_data 0.8.2 copy "flutter_data: ^0.8.2" to clipboard
flutter_data: ^0.8.2 copied to clipboard

The seamless way to work with persistent data models in Flutter. Inspired by Ember Data and ActiveRecord.

345
likes
110/ 140
pub points
86%
popularity

We analyzed this package 21 hours ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

428 out of 662 API elements (64.7 %) have documentation comments.

Some symbols that are missing documentation: data_library_builder, data_library_builder.DataExtensionBuilder, data_library_builder.DataExtensionBuilder.DataExtensionBuilder, data_library_builder.DataExtensionIntermediateBuilder, data_library_builder.DataExtensionIntermediateBuilder.DataExtensionIntermediateBuilder.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 18 issues. Showing the first 2:

WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.

lib/src/graph/graph_notifier.dart:63:43

   ╷
63 │   String? getKeyForId(String type, dynamic? id, {String? keyIfAbsent}) {
   │                                           ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/graph/graph_notifier.dart

INFO: The import of 'package:state_notifier/state_notifier.dart' is unnecessary because all of the used elements are also provided by the import of 'package:riverpod/riverpod.dart'.

lib/flutter_data.dart:10:8

   ╷
10 │ import 'package:state_notifier/state_notifier.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
analyzer ^2.0.0 2.8.0 6.5.0
async ^2.6.1 2.11.0 2.11.0
build ^2.0.2 2.4.1 2.4.1
build_resolvers ^2.0.3 2.0.6 2.4.2
collection ^1.15.0 1.18.0 1.18.0
crypto ^3.0.1 3.0.3 3.0.3
equatable ^2.0.2 2.0.5 2.0.5
glob ^2.0.1 2.1.2 2.1.2
hive ^2.0.4 2.2.3 2.2.3
http ^0.13.3 0.13.6 1.2.1
inflection3 ^0.5.3+2 0.5.3+2 0.5.3+2
json_annotation ^4.1.0 4.9.0 4.9.0
meta ^1.3.0 1.14.0 1.14.0
path ^1.8.0 1.9.0 1.9.0
pubspec_parse ^1.0.0 1.2.3 1.2.3
riverpod ^0.14.0+3 0.14.0+3 2.5.1
source_gen ^1.0.1 1.2.2 1.5.0
state_notifier ^0.7.0 0.7.2+1 1.0.0
uuid ^3.0.4 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 31.0.0 68.0.0
args - 2.5.0 2.5.0
checked_yaml - 2.0.3 2.0.3
cli_util - 0.3.5 0.4.1
convert - 3.1.1 3.1.1
dart_style - 2.2.1 2.3.6
file - 7.0.0 7.0.0
freezed_annotation - 0.14.3 2.4.1
graphs - 2.3.1 2.3.1
http_parser - 4.0.2 4.0.2
logging - 1.2.0 1.2.0
package_config - 2.1.0 2.1.0
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

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

Found 5 issues. Showing the first 2:

The constraint `^2.0.0` on analyzer does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.