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

custom_pin_screen のカバー
パッケージ詳細v1.0.1

custom_pin_screen

カスタムキーボードとPINを備えた画面をモバイルアプリケーションに追加するためのFlutterパッケージです。

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

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

flutter pub add custom_pin_screen

パッケージ概要

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

Flutterパッケージで、モバイルおよびデスクトップアプリケーション向けにカスタマイズ可能なPIN入力画面とカスタムキーボードを実装できるようにします。PIN、OTP、パスワードの安全な入力処理をサポートし、デザインと動作の柔軟性を提供します。このパッケージはAndroid、iOS、Web、macOS、Windows、Linuxにシームレスに統合され、数値またはカスタム入力が必要な認証フローに最適です。スタイル設定、検証、コールバック処理のための明確なAPIを提供しています。

用途

  • PINコードによるユーザー認証
  • ワンタイムパスワード (OTP) 入力
  • セキュアなパスワード入力フィールド
  • フォーム用のカスタムキーボードレイアウト
  • マルチプラットフォームアプリの一貫性

主な機能

  • カスタマイズ可能なキーボードレイアウト
  • クロスプラットフォーム対応
  • セキュアな入力処理
  • 設定可能なピン長さ
  • 変更時および完了時のコールバック
  • 既存のUIとの簡単な統合

適している対象

  • 認証フローを構築する開発者
  • セキュアな数値入力を必要とするアプリ
  • 複数のプラットフォームをターゲットにするプロジェクト
  • 再利用可能なピンコンポーネントを希望するチーム
  • ユーザー体験を重視したフォームの実装

注意事項

  • セキュリティのベストプラクティスを手動で処理する必要があります
  • 長さを超える内蔵検証は限定的
  • 複雑なデザインには追加のスタイリングが必要になる場合があります
  • 数値以外の入力には最適化されていません
  • プラットフォーム固有のレンダリング動作に依存します

元の README

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

🔐 custom pin screen

codecov CI license PRs Welcome GitHub contributors GitHub last commit

A flutter package to add screens with custom keyboards and pins to your mobile application.

🎖 Installing

dependencies:
  custom_pin_screen: "^1.0.0"
⚡️ Import
import 'package:custom_pin_screen/custom_pin_screen.dart';

🎮 How To Use

Dart Usage
  • Pin Auth
onPressed: (){
    Navigator.push(
                  context,
                  MaterialPageRoute(
                    builder: (context) => PinAuthentication(
                      onChanged: (v) {
                        if (kDebugMode) {
                          print(v);
                        }
                      },
                      onSpecialKeyTap: () {},
                      specialKey: const SizedBox(),
                      useFingerprint: true,
                      onbuttonClick: () {},
                      submitLabel: const Text(
                        'Submit',
                        style: TextStyle(color: Colors.white, fontSize: 20),
                      ),
                    ),
                  ),
                );
    },
  • Custom Keyboard
Column(
        children: [
          const Padding(
            padding: EdgeInsets.symmetric(
              horizontal: 35.0,
              vertical: 35.0,
            ),
            child: Text(
              "How much do you want to fund your wallet with",
              textAlign: TextAlign.center,
              style: TextStyle(
                color: Colors.blue,
                fontWeight: FontWeight.w700,
                fontSize: 18,
              ),
            ),
          ),
          Expanded(
              child: CustomAppKeyBoard(
            onChanged: (v) {
              if (kDebugMode) {
                print(v);
              }
            },
            onbuttonClick: () {
              if (kDebugMode) {
                print('clicked');
              }
            },
            maxLength: 4,
            submitLabel: const Text(
              'Proceed',
              style: TextStyle(
                color: Colors.white,
                fontWeight: FontWeight.w700,
                fontSize: 18,
              ),
            ),
            // ),
          ))
        ],
      )

For more info, please, refer to the main.dart in the example.

📸 ScreenShots

🐛 Bugs/Requests

If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.

❗️ Note

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

🤓 Developer(s)

Abada Samuel Oghenero

⭐️ License

MIT LICENSE

カテゴリー

ソースリポジトリ

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

データはまだありません。