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.