is_device_secure 0.0.2
is_device_secure: ^0.0.2 copied to clipboard
This plugin can check security status of the device. There was no option to detect the current security status of the device from the Flutter application.I have created this plugin to accommodate that [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add is_device_secure
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
is_device_secure: ^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:is_device_secure/is_device_secure.dart';