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}");
}
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 with replicated UNIX identification commands.

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