flutter_screen_lock 3.0.2
flutter_screen_lock: ^3.0.2 copied to clipboard
Provides the ability to lock the screen on ios and android. Biometric authentication can be used in addition to passcode.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_screen_lock
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_screen_lock: ^3.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:flutter_screen_lock/buttons/cancel_button.dart';
import 'package:flutter_screen_lock/buttons/customizable_button.dart';
import 'package:flutter_screen_lock/buttons/delete_button.dart';
import 'package:flutter_screen_lock/buttons/hidden_button.dart';
import 'package:flutter_screen_lock/buttons/input_button.dart';
import 'package:flutter_screen_lock/buttons/styled_input_button.dart';
import 'package:flutter_screen_lock/configurations/input_button_config.dart';
import 'package:flutter_screen_lock/configurations/screen_lock_config.dart';
import 'package:flutter_screen_lock/configurations/secret_config.dart';
import 'package:flutter_screen_lock/configurations/secrets_config.dart';
import 'package:flutter_screen_lock/functions.dart';
import 'package:flutter_screen_lock/heading_title.dart';
import 'package:flutter_screen_lock/input_state.dart';
import 'package:flutter_screen_lock/layout/key_pad.dart';
import 'package:flutter_screen_lock/layout/secrets.dart';
import 'package:flutter_screen_lock/screen_lock.dart';