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.

369
likes
130/ 160
pub points
1.54k
downloads

We analyzed this package in the last hour, and awarded it 130 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

880 out of 1203 API elements (73.2 %) have documentation comments.

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

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Passed check 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 report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
30 / 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
analyzer ^6.1.0 6.11.0 7.4.3
async ^2.6.1 2.13.0 2.13.0
build ^2.0.2 2.4.2 2.4.2
build_resolvers ^2.0.10 2.4.4 2.4.4
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.3 2.1.3
hive ^2.2.3 2.2.3 2.2.3
http ^1.2.0 1.3.0 1.3.0
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.5.0 1.5.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 Notes
_fe_analyzer_shared - 76.0.0 82.0.0
args - 2.7.0 2.7.0
checked_yaml - 2.0.3 2.0.3
convert - 3.1.2 3.1.2
dart_style - 2.3.8 3.0.1
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.2 4.1.2
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0 Discontinued
package_config - 2.2.0 2.2.0
pub_semver - 2.2.0 2.2.0
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.1 1.1.1
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`.

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`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
369
likes
130
points
1.54k
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)

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