awareframework_gravity 0.0.6

Flutter Android iOS

The gravity sensor measures the force of gravity applied to the sensor built-in into the device and provides a three dimensional vector indicating the direction and magnitude of gravity

0
likes
80 / 110
pub points
14 %
popularity

We analyzed this package on Oct 16, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

0/10 points: Provide a valid pubspec.yaml

Homepage URL is insecure.

Update the homepage field and use a secure (https) URL.

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 15 out of 47 API elements (31.9 %) have documentation comments.
Support multiple platforms
10 / 20

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

Consider supporting multiple platforms:

Package does not support Flutter platform Web

Because:

  • package:awareframework_gravity/awareframework_gravity.dart that declares support for platforms: Android, iOS

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:awareframework_gravity/awareframework_gravity.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform Linux

Because:

  • package:awareframework_gravity/awareframework_gravity.dart that declares support for platforms: Android, iOS
Package does not support Flutter platform macOS

Because:

  • package:awareframework_gravity/awareframework_gravity.dart that declares support for platforms: Android, iOS
Pass static analysis
20 / 30

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

INFO: The value of the field '_gravityStream' isn't used.

lib/awareframework_gravity.dart:52:30

   ╷
52 │   static const EventChannel  _gravityStream  = const EventChannel('awareframework_gravity/event');
   │                              ^^^^^^^^^^^^^^
   ╵

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

lib/awareframework_gravity.dart is not formatted according to dartfmt

To format your files run: dartfmt -w .

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
awareframework_core^0.1.10.1.10.1.1
flutterflutter0.0.00.0.0
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.1.0-nullsafety.31.1.0-nullsafety.3
charts_common-0.5.00.9.0
charts_flutter-0.5.00.9.0
collection-1.15.0-nullsafety.31.15.0-nullsafety.3
intl-0.15.80.16.1
logging-0.11.40.11.4
meta-1.3.0-nullsafety.31.3.0-nullsafety.4
path-1.7.01.8.0-nullsafety.1
sky_engine-0.0.990.0.99
typed_data-1.3.0-nullsafety.31.3.0-nullsafety.3
vector_math-2.1.0-nullsafety.32.1.0-nullsafety.3

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

0
likes
80
pub points
14%
popularity

The gravity sensor measures the force of gravity applied to the sensor built-in into the device and provides a three dimensional vector indicating the direction and magnitude of gravity

Homepage

Documentation

API reference

Uploader

yukinishi55@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

awareframework_core, flutter

More

Packages that depend on awareframework_gravity