superuser 3.0.0+1 copy "superuser: ^3.0.0+1" to clipboard
superuser: ^3.0.0+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
150
points
145
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