Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that provides a customizable passcode screen for securing app access. It enables developers to implement PIN-based authentication with a clean, intuitive interface. The package supports input validation, visual feedback, and easy integration into existing projects. Designed for simplicity and security, it's ideal for protecting sensitive areas within an app. The source code is publicly available on GitHub for transparency and customization.
Use cases
App lock screens
Secure login flows
PIN-based authentication
Protecting sensitive data
User session protection
Key features
Customizable passcode input
Visual feedback for input
Easy integration with Flutter
Supports PIN entry
Open-source and transparent
Suitable for
Developers building secure apps
Apps requiring user authentication
Projects needing simple PIN protection
Flutter beginners exploring auth UI
Apps with privacy-sensitive features
Considerations
No built-in biometric support
Limited platform-specific customization
Requires manual handling of error states
Not designed for complex authentication workflows
No offline storage for PINs
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Flutter Pass Code Page or Pin Code Page Package
This package gives you beautiful pass code page for using both android and ios.
Demo
Finger Print Usage
First, be sure you should ensure that you add the local_auth package as a dependency. And Please read local_auth all integration details.
https://pub.dartlang.org/packages/local_auth
iOS Integration
Note that this plugin works with both TouchID and FaceID. However, to use the latter, you need to also add:
<key>NSFaceIDUsageDescription</key>
<string>Why is my app authenticating using face id?</string>
to your Info.plist file. Failure to do so results in a dialog that tells the user your app has not been updated to use TouchID.
Android Integration
Note that local_auth plugin requires the use of a FragmentActivity as opposed to Activity. This can be easily done by switching to use FlutterFragmentActivity as opposed to FlutterActivity in your manifest (or your own Activity class if you are extending the base class).
Update your project's AndroidManifest.xml file to include the USE_FINGERPRINT permissions: