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

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

363
likes
140/ 160
pub points
1.16k
downloads

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

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

880 out of 1157 API elements (76.1 %) 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

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 28 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Relationship._ownerKey, Relationship._name, Relationship._inverseName, Relationship._uninitializedKeys

lib/src/model/relationship/belongs_to.dart:16:7

   ╷
16 │ class BelongsTo<E extends DataModelMixin<E>> extends Relationship<E, E?> {
   │       ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/relationship/belongs_to.dart

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: Relationship._ownerKey, Relationship._name, Relationship._inverseName, Relationship._uninitializedKeys

lib/src/model/relationship/has_many.dart:16:7

   ╷
16 │ class HasMany<E extends DataModelMixin<E>> extends Relationship<E, Set<E>> {
   │       ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/model/relationship/has_many.dart

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest
analyzer ^6.1.0 6.11.0 7.1.0
async ^2.6.1 2.12.0 2.12.0
build ^2.0.2 2.4.2 2.4.2
build_resolvers ^2.0.10 2.4.3 2.4.3
collection ^1.16.0 1.19.1 1.19.1
crypto ^3.0.1 3.0.6 3.0.6
equatable ^2.0.2 2.0.7 2.0.7
glob ^2.0.1 2.1.2 2.1.2
hive ^2.2.3 2.2.3 2.2.3
http ^1.2.0 1.2.2 1.2.2
inflection3 ^0.5.3+2 0.5.3+2 0.5.3+2
json_annotation ^4.8.1 4.9.0 4.9.0
meta ^1.10.0 1.16.0 1.16.0
path ^1.8.0 1.9.1 1.9.1
pool ^1.5.1 1.5.1 1.5.1
pubspec_parse ^1.0.0 1.4.0 1.4.0
recase ^4.0.0 4.1.0 4.1.0
retry ^3.1.0 3.1.2 3.1.2
riverpod ^2.1.1 2.6.1 2.6.1
source_gen ^1.0.1 1.5.0 2.0.0
source_helper ^1.3.2 1.3.5 1.3.5
state_notifier ^1.0.0 1.0.0 1.0.0
uuid ^4.2.1 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 76.0.0 78.0.0
_macros - 0.3.3 0.3.3
args - 2.6.0 2.6.0
checked_yaml - 2.0.3 2.0.3
convert - 3.1.2 3.1.2
dart_style - 2.3.7 3.0.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
graphs - 2.3.2 2.3.2
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
package_config - 2.1.1 2.1.1
pub_semver - 2.1.5 2.1.5
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^6.1.0` on analyzer does not support the stable version `7.0.0`, that was published 29 days ago.

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

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

The constraint `^1.0.1` on source_gen does not support the stable version `2.0.0`, that was published 2 days ago.

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

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

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.22.17, Dart 3.6.0.

Check the analysis log for details.

363
likes
140
points
1.16k
downloads

Publisher

verified publisherflutterdata.dev

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

analyzer, async, build, build_resolvers, collection, crypto, equatable, glob, hive, http, inflection3, json_annotation, meta, path, pool, pubspec_parse, recase, retry, riverpod, source_gen, source_helper, state_notifier, uuid

More

Packages that depend on flutter_data