superuser 1.0.2 copy "superuser: ^1.0.2" to clipboard
superuser: ^1.0.2 copied to clipboard

Detect, verify user who execute Flutter program has superuser role and running with superuser permission.

140/ 160
pub points
9
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/rk0cc/superuser/tree/main/superuser was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

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

28 out of 28 API elements (100.0 %) have documentation comments.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:superuser/superuser.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:superuser/superuser.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:superuser/superuser.dart that declares support for platforms: Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Windows`.

Because:

  • package:superuser/superuser.dart that imports:
  • package:superuser/src/instance.dart that imports:
  • package:superuser_plugin_unix/superuser_plugin_unix.dart that declares support for platforms: Linux, macOS.
Package does not support platform `Linux`.

Because:

  • package:superuser/superuser.dart that imports:
  • package:superuser/src/instance.dart that imports:
  • package:superuser_plugin_windows/superuser_plugin_windows.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:superuser/superuser.dart that imports:
  • package:superuser/src/instance.dart that imports:
  • package:superuser_plugin_windows/superuser_plugin_windows.dart that declares support for platforms: Windows.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: The import of 'package:meta/meta.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.

lib/src/instance.dart:4:8

  ╷
4 │ import 'package:meta/meta.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/instance.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
meta ^1.12.0 1.17.0 1.17.0
superuser_interfaces ^2.0.0 2.2.0 3.0.0+1
superuser_plugin_unix ^1.0.0 1.0.0 3.0.0+1
superuser_plugin_windows ^1.0.0 1.0.0 3.0.0+1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
plugin_platform_interface - 2.1.8 2.1.8
vector_math - 2.2.0 2.2.0

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

Found 3 issues. Showing the first 2:

The constraint `^2.0.0` on superuser_interfaces does not support the stable version `3.0.0`.

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

The constraint `^1.0.0` on superuser_plugin_unix does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions superuser_plugin_unix 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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
140
points
9
downloads

Publisher

verified publisherrk0cc.xyz

Weekly Downloads

Detect, verify user who execute Flutter program has superuser role and running with superuser permission.

Homepage
Repository (GitHub)
View/report issues

Topics

#superuser #root #admin #administrator #ffi

Documentation

API reference

Funding

Consider supporting this project:

github.com

License

BSD-3-Clause (license)

Dependencies

flutter, meta, superuser_interfaces, superuser_plugin_unix, superuser_plugin_windows

More

Packages that depend on superuser