パッケージ、リポジトリ、アプリカテゴリを検索

flutter_pin_code_widget のカバー
パッケージ詳細v0.1.2

flutter_pin_code_widget

ローカルのPINコードを作成および確認するためのPINコードウィジェットで、柔軟な設定が可能です。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
451
いいね数
27
Pub ポイント
160

パッケージをインストール

flutter pub add flutter_pin_code_widget

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

柔軟な構成オプションを備えた、ローカルPINコードの作成と検証に使用できるカスタマイズ可能なFlutterウィジェットです。複数のプラットフォームで安全かつユーザーに優しいPIN入力を目的として設計されており、動的な入力長、スタイル、検証ロジックをサポートしています。単純な数値コードが必要な認証フローに最適です。軽量であり、PINベースのアクセス制御が必要なアプリへのシームレスな統合が可能です。

用途

  • ユーザー認証
  • アプリロック機能
  • セキュアなデータアクセス
  • 二要素認証
  • PIN設定フロー
  • デバイスのロック解除

主な機能

  • カスタマイズ可能な入力長
  • 柔軟なスタイルオプション
  • ローカルPIN検証
  • クロスプラットフォーム対応
  • 簡単な統合
  • スクリーンキーボードの取り扱い

適している対象

  • シンプルな認証システム
  • モバイルアプリのセキュリティ
  • PINベースのログイン画面
  • プライバシー重視のアプリケーション
  • 軽量なソリューションを求める開発者

注意事項

  • クラウドベースのPINストレージを処理しない
  • 数値入力に限定
  • 組み込みのバイオメトリックフォールバックなし
  • 手動での再試行ロジックの実装が必要です
  • 追加の対策がなければ、高セキュリティ環境には適していません

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

  • A Flutter package that helps create a PIN Code screens.
  • Inspired by Android PIN code screen/
  • Widget can use PIN with any length (video below)

Note, that the widget has centerBottomWidget property, for adding one more button on the bottom left.

Usage

  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: () {},
    ),
  ),
  1. Full example is here https://github.com/AgoraDesk-LocalMonero/flutter-pin-code-widget/blob/main/example/lib/main.dart
  2. How this package used in the real app https://github.com/AgoraDesk-LocalMonero/agoradesk-app-foss/blob/main/lib/features/auth/screens/pin_code_set_screen.dart

Showcase

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

Credits

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.

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト