v0.1.2flutter_pin_code_widget
用于创建和检查本地PIN码的PIN码小部件,支持灵活设置。
27喜欢 451近 30 天下载160Pub 分数
AndroidiOSWebmacOSWindowsLinux
用于创建和使用钱包、银行及其他应用的本地PIN码屏幕的控件。
以下为英文项目原文快照,最新内容请访问 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
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
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.
依赖清单 3 项
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗