fragment 0.3.1

Flutter Android iOS web

Easily prevent unnecessary build() calls in StatefulWidget and its subtrees.

2
likes
90 / 110
pub points
61 %
popularity

We analyzed this package on Sep 29, 2020, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 10 out of 18 API elements (55.6 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Pass static analysis
20 / 30

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

INFO: The member '==' is declared non-virtual in 'Widget' and can't be overridden in subclasses.

lib/src/fragment.dart:15:12

   ╷
15 │   operator ==(Object other) {
   │            ^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/fragment.dart

INFO: The member 'hashCode' is declared non-virtual in 'Widget' and can't be overridden in subclasses.

lib/src/fragment.dart:23:11

   ╷
23 │   int get hashCode => keys.hashCode;
   │           ^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/src/fragment.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
collection^1.14.111.14.131.14.13
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.0.01.0.0
meta-1.1.81.2.3
sky_engine-0.0.990.0.99
typed_data-1.2.01.2.0
vector_math-2.0.82.0.8

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

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

2
likes
90
pub points
61%
popularity

Easily prevent unnecessary build() calls in StatefulWidget and its subtrees.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

bob432091@gmail.com

License

MIT (LICENSE)

Dependencies

collection, flutter

More

Packages that depend on fragment