upower 0.0.0-dev.2

Dart native
Flutter Android iOS

Provides a client to connect to UPower - the service that does power management on Linux.

3
likes
100 / 110
pub points
20 %
popularity

We analyzed this package on Oct 28, 2020, and awarded it 100 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
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

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

  • 64 out of 105 API elements (61.0 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:upower/upower.dart that imports:
  • package:upower/src/upower_client.dart that imports:
  • package:dbus/dbus.dart that imports:
  • package:dbus/src/dbus_remote_object.dart that imports:
  • package:dbus/src/dbus_client.dart that imports:
  • package:dbus/src/getuid.dart that imports:
  • dart:ffi
Pass static analysis
30 / 30

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

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
dbus^0.0.0-dev.200.0.0-dev.230.0.0-dev.23
Transitive dependencies
PackageConstraintCompatibleLatest
args-1.6.01.6.0
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
meta-1.2.31.2.3
petitparser-3.1.03.1.0
typed_data-1.2.01.2.0
xml-4.5.14.5.1

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

3
likes
100
pub points
20%
popularity

Provides a client to connect to UPower - the service that does power management on Linux.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploaders

robert.ancell@canonical.com
marcus.tomlinson@canonical.com
ken.vandine@canonical.com

License

MPL 2.0 (LICENSE)

Dependencies

dbus

More

Packages that depend on upower