pin_lock_screen

Pub Version GitHub License

A Flutter package to easily integrate screen lock PIN functionality into your application.

Features

  • User-friendly PIN setup.
  • Customizable design to match your app's branding.
  • Secure encryption to protect user PIN data.
  • Flexible integration options.
  • Informative error handling.
  • Localization support for international users.

Getting Started

Follow these steps to get started with pin_lock_screen:

alt text

1. Installation

Add pin_lock_screen to your pubspec.yaml file:

dependencies:
  pin_lock_screen: ^latest_version

import 'package:pin_lock_screen/pin_lock_screen.dart';

 PinLockScreen(
   correctPin: 1111,
   pinLength: 4,
   onPinMatched: (pin) {},
   onPinChanged: (pin) {},
   disableDotColor: Colors.yellow,
   wrongPinDotColor: Colors.red,
   filledPinDotColor: Colors.black,
   buttonElevation: 3,
   otsShape: BoxShape.rectangle,
   gapBtwDotsAndNumPad: 100,
 )