v0.1.2flutter_pin_code_widget
用于创建和检查本地PIN码的PIN码小部件,支持灵活设置。
27喜欢 241近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
用于创建和使用钱包、银行及其他应用的本地PIN码屏幕的控件。
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0以下为英文项目原文快照,最新内容请访问 GitHub。
Note, that the widget has centerBottomWidget property, for adding one more button on the bottom left.
PinCodeWidget(
minPinLength: 4,
maxPinLength: 25,
onChangedPin: (pin) {
// check the PIN length and check different PINs with 4,5.. length.
},
onEnter: (pin, _) {
// callback user pressed enter
},
centerBottomWidget: IconButton(
icon: const Icon(
Icons.fingerprint,
size: 40,
),
onPressed: () {},
),
),
Example app
Showcase|width=400px
App from the stores https://agoradesk.com/, the code is here code https://github.com/AgoraDesk-LocalMonero/agoradesk-app-foss/blob/main/lib/features/auth/screens/pin_code_set_screen.dart
Showcase|width=400px
This is a project by Agoradesk, P2P cryptocurrency trading platform. Created by the team behind LocalMonero, the biggest and most trusted Monero P2P trading platform.