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

PlatformAndroid

A Android Flutter plugin that can be used to bind screen activation to proximity sensor

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add proximity_screen_lock_android

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

dependencies:
  proximity_screen_lock_android: ^2.1.1

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:proximity_screen_lock_android/proximity_screen_lock_android.dart';
0
likes
160
points
5.54k
downloads

Publisher

verified publishermantoux.org

Weekly Downloads

A Android Flutter plugin that can be used to bind screen activation to proximity sensor

Homepage
Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, proximity_screen_lock_platform_interface

More

Packages that depend on proximity_screen_lock_android