screen_pinning_plugin 1.0.4
screen_pinning_plugin: ^1.0.4 copied to clipboard
Flutter plugin for Android screen pinning, kiosk mode, and lock task mode. Supports both managed (device owner/admin) and unmanaged devices. Uses native Android app pinning and lock task features for [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add screen_pinning_pluginThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
screen_pinning_plugin: ^1.0.4Alternatively, 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_pinning_plugin/screen_pinning_plugin.dart';