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

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

example/main.dart

// ignore_for_file: avoid_print

import 'package:superuser/superuser.dart';

void main() {
  print("Superuser member: ${Superuser.isSuperuser}");
  print("Running as superuser: ${Superuser.isActivated}");
}
2
likes
160
points
42
downloads

Publisher

verified publisherrk0cc.xyz

Weekly Downloads

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

Homepage
Repository (GitHub)

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