pin_lock_screen 0.0.1 copy "pin_lock_screen: ^0.0.1" to clipboard
pin_lock_screen: ^0.0.1 copied to clipboard

Easily integrate a secure screen lock PIN feature into your Flutter application with the pin_lock_screen package. This versatile package provides a seamless solution for enhancing the privacy and secu [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:pin_lock_screen/pin_lock_screen.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: PinLockScreen(
        correctPin: 11111,
        pinLength: 5,
        onPinMatched: (pin) {},
        onPinChanged: (pin) {},
        disableDotColor: Colors.yellow,
        wrongPinColor: Colors.orange,
      ),
    );
  }
}
12
likes
0
pub points
73%
popularity

Publisher

verified publishertakipansari.com

Easily integrate a secure screen lock PIN feature into your Flutter application with the pin_lock_screen package. This versatile package provides a seamless solution for enhancing the privacy and security of your app by allowing users to set and require a PIN to access sensitive content or features.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pin_lock_screen