touch_lock 0.0.4 touch_lock: ^0.0.4 copied to clipboard
A screen touch lock module for Flutter.It is a lock system for children. If you lock the screen, it will not be unlocked without marking the correct number.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add touch_lock
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
touch_lock: ^0.0.4
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:touch_lock/touch_lock.dart';