FLUTTER ECOSYSTEM

Mastersam07/custom_pin_screen

一個用於新增具有自訂鍵盤和密碼的螢幕的 Flutter 套件。

custom_pin_screen 專案封面
Stars
21
Forks
12
最近推送(UTC)
2024年8月8日
專案狀態
未封存
Samuel Abada GitHub avatar
GITHUB User

Samuel Abada ↗

GDE Flutter & Dart

@nexlabstudioNigeria官方網站 ↗
語言DartRubySwiftKotlinObjective-C

此儲存庫發佈的套件

使用的依賴

依賴清單 3 項
  • flutter{"sdk":"flutter"}
  • flutter_lints開發依賴^1.0.0
  • flutter_test開發依賴{"sdk":"flutter"}

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 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

https://github.com/Mastersam07/custom_pin_screen//raw/master/assets/1.png https://github.com/Mastersam07/custom_pin_screen//raw/master/assets/2.png

🐛 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)

https://avatars3.githubusercontent.com/u/31275429?s=460&u=b935d608a06c1604bae1d971e69a731480a27d46&v=4

Abada Samuel Oghenero

https://github.com/aritraroy/social-icons/blob/master/twitter-icon.png?raw=true https://github.com/aritraroy/social-icons/blob/master/linkedin-icon.png?raw=true https://github.com/aritraroy/social-icons/blob/master/medium-icon.png?raw=true https://github.com/aritraroy/social-icons/blob/master/facebook-icon.png?raw=true

⭐️ License

MIT LICENSE