screen_lock_plugin 0.0.2 copy "screen_lock_plugin: ^0.0.2" to clipboard
screen_lock_plugin: ^0.0.2 copied to clipboard

PlatformAndroid

A Flutter plugin that allows you to lock the Android device screen programmatically using Device Admin permissions.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add screen_lock_plugin

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  screen_lock_plugin: ^0.0.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:screen_lock_plugin/screen_lock_plugin.dart';
1
likes
140
points
237
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin that allows you to lock the Android device screen programmatically using Device Admin permissions.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on screen_lock_plugin

Packages that implement screen_lock_plugin