screen_lock_detector 1.0.0 copy "screen_lock_detector: ^1.0.0" to clipboard
screen_lock_detector: ^1.0.0 copied to clipboard

A Flutter plugin to detect screen lock/unlock events across Android and iOS platforms.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add screen_lock_detector

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

dependencies:
  screen_lock_detector: ^1.0.0

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_detector/screen_lock_detector.dart';
7
likes
160
points
109
downloads
screenshot

Publisher

verified publishermrrhak.com

Weekly Downloads

A Flutter plugin to detect screen lock/unlock events across Android and iOS platforms.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#screen-lock-detector #screen-lock #device-lock #lockscreen

Documentation

API reference

Funding

Consider supporting this project:

ko-fi.com

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on screen_lock_detector

Packages that implement screen_lock_detector