screen_pinning 1.0.0
screen_pinning: ^1.0.0 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_pinningThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
screen_pinning: ^1.0.0Alternatively, 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/screen_pinning.dart';