登录 注册

Flutter_Pinput

去点 Star
开发者工具AI 模型与开发框架自动化与工作流 android-autofillautofillcodeflutterflutter-packageflutter-pin-code
860
Stars
217
Forks
6
Watchers
41
Open Issues
MIT
许可证
Dart
语言
2018-10-24
创建时间
2026-11-10
最近更新

项目能做什么

跨平台 Flutter 验证码/PIN 输入框组件,支持动画、光标自定义、表单验证与短信自动填充。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<div align="center">

# Pinput

**A customizable PIN / OTP code input for Flutter, with SMS autofill.**

[![Pub](https://img.shields.io/pub/v/pinput.svg)](https://pub.dev/packages/pinput)
[![CI](https://github.com/Tkko/Flutter_Pinput/actions/workflows/ci.yml/badge.svg)](https://github.com/Tkko/Flutter_Pinput/actions/workflows/ci.yml)
[![Stars](https://img.shields.io/github/stars/Tkko/Flutter_Pinput.svg?style=flat&logo=github&colorB=deeppink&label=stars)](https://github.com/Tkko/Flutter_Pinput)
[![Style](https://img.shields.io/badge/style-effective_dart-40c4ff.svg)](https://github.com/tenhobi/effective_dart)
[![License: MIT](https://img.shields.io/badge/license-MIT-purple.svg)](LICENSE)

[Live demo](https://tkko.github.io/Flutter_Pinput/) · [Install](#install) · [Usage](#usage) · [SMS autofill](#sms-autofill) · [Migrating](#migrating-to-80) · [Examples](example/lib) · [pub.dev](https://pub.dev/packages/pinput) · [Changelog](CHANGELOG.md)

<b>🚀 Have a project in mind? <a href="https://www.linkedin.com/in/thornike/">Let's work together on LinkedIn</a>.</b>

<b>Enjoying this package? Help keep it maintained.</b>

<a href="https://ko-fi.com/tornike_dev"><img width="100" height="56" src="https://user-images.githubusercontent.com/26390946/161375565-e7d64410-bbcf-4a28-896b-7514e106478e.png" alt="Support on Ko-fi"></a>
<a href="https://www.buymeacoffee.com/tornike.dev"><img width="100" height="56" src="https://user-images.githubusercontent.com/26390946/161375563-69c634fd-89d2-45ac-addd-931b03996b34.png" alt="Buy Me a Coffee"></a>

</div>

<br>

| [Live demo](https://tkko.github.io/Flutter_Pinput/) | Rounded with shadows | Rounded with cursor |
| :---: | :---: | :---: |
| <a href="https://tkko.github.io/Flutter_Pinput/"><img width="180" height="400" src="https://user-images.githubusercontent.com/26390946/155666045-aa93bf48-f8e7-407c-bb19-bc247d9e12bd.png" alt="Live demo"/></a> | <img width="180" height="400" src="https://user-images.githubusercontent.com/26390946/155599527-fe934f2c-5124-4754-bbf6-bb97d55a77c0.gif" alt="Rounded with shadows"/> | <img width="180" height="400" src="https://user-images.githubusercontent.com/26390946/155599870-03387689-7be2-4a30-8e6f-90136a0515be.gif" alt="Rounded with cursor"/> |

<details>
<summary><b>More styles</b></summary>

| Rounded filled | Bottom cursor | Filled |
| :---: | :---: | :---: |
| <img width="180" height="400" src="https://user-images.githubusercontent.com/26390946/155600099-d0a02f55-09e6-4142-92de-066cd71cf211.gif" alt="Rounded filled"/> | <img width="180" height="400" src="https://user-images.githubusercontent.com/26390946/155600276-0380b3b4-3d9c-4ea8-87d0-4f7ebd86e460.gif" alt="Bottom cursor"/> | <img width="180" height="400" src="https://user-images.githubusercontent.com/26390946/155600427-901c1eae-e565-4cf8-a338-8ac40eb1149c.gif" alt="Filled"/> |

</details>

## Features

- Animated decoration switching between pin states
- App-controlled validation feedback, with [`Form` integration](#form-integration)
阅读完整原文

商业机会分析 AI 生成

Flutter 全套身份认证与安全交互 UI Kit(商业模板)

产品构想以 Pinput 为核心交互点,扩展构建涵盖手机号登录、短信/邮箱验证码、生物识别(指纹/FaceID)、安全软键盘、密码重置的完整前端 UI 模板套件,在 Envato Market / Gumroad 出售。
核心功能开箱即用的多套精美设计系统主题、跨平台短信自动填充预设、软硬件混合安全防截屏键盘、集成常见 Auth SDK(如 Firebase/Supabase)的代码脚手架。
目标用户需要快速上线 MVP 的独立开发者、海外外包工作室、企业前端团队。
难度/周期低至中等 · 2 - 4 周 · 成本:极低(仅需设计与开发工时)
收费模式数字资产一次性买卖(定价 $29 - $99),提供更新与基础支持。
竞争风险竞品模板多,市场规模有限,代码容易被二次传播破解。
依据 已验证事实

移动端无缝短信验证与自动化测试 Mock 服务 (SaaS)

产品构想解决开发和测试人员在集成 OTP/SMS autofill 时反复接收真实短信成本高、测试困难的痛点,提供专为 Flutter 适配的虚拟短信验证码沙盒与自动化测试 SDK。
核心功能Flutter 端内置 Mock 拦截库、云端虚拟号码池、Webhook 自动推送、与 Pinput 等 UI 组件一键集成的测试模式切换器。
目标用户移动端 QA 工程师、跨国 App 开发团队、CI/CD 自动化流水线维护者。
难度/周期中等 · 2 - 3 个月 · 成本:虚拟号码采购与云服务器维护成本(约 $100 - $300/月)
收费模式SaaS 订阅制(按测试号码数/API 调用量阶梯计费,如 $19 - $99/月)。
竞争风险虚拟号码资源受电信政策监管限制,维护海外号码池成本较高。
依据 尚需验证的假设

高安全场景定制与移动端安全合规企业服务

产品构想作者在 README 中明确挂出 LinkedIn 承接项目('Have a project in mind? Let's work together'),可针对金融、Web3 钱包等高安全要求行业,提供防键盘劫持、动态防截屏、合规级 OTP 输入审计的定制开发与咨询。
核心功能定制安全键盘算法、内存混淆、PIN 输入抗重放防护、系统底层无障碍权限防窃听定制咨询。
目标用户Fintech 初创团队、加密货币钱包开发团队、银行系统外包商。
难度/周期高 · 按项目交付(通常 1 - 2 个月/单) · 成本:人力工时成本
收费模式按项目报价($3,000 - $15,000/案)或按技术咨询时薪收费。
竞争风险获客周期长,高度依赖个人信誉与人脉,难以规模化复利。
依据 已验证事实
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
googlearchive/android-AutofillFramework 中文介绍暂未生成
Migrated:
429 Java
FoxAuth/FoxAuth 中文介绍暂未生成
UNOFFICAL A Firefox authenticator that can autofill TOTP cod
97 JavaScript
Tkko/flutter_smart_auth 中文介绍暂未生成
Android SMS autofill (SMS Retriever and User Consent APIs),
63 Dart
gininaba/AIPOSPasswordManager 中文介绍暂未生成
A premium, fully offline, and zero-knowledge Android passwor
36 Kotlin
commonsguy/AutofillFollies 中文介绍暂未生成
Demonstration of security issues with Android 8.0 autofill
30 Java
authpass/autofill_service 中文介绍暂未生成
Implements a very simple version for android autofill servic
23 Kotlin
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2018-10-24,近 30 天仍在推送,发布过 10 个 Release
社区活跃Star 860 / Fork 217 / Issue 41(数据支持,可自行核实)
许可证MIT
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/Tkko/Flutter_Pinput.git
cd Flutter_Pinput
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。