fl_pin_code 0.0.8 copy "fl_pin_code: ^0.0.8" to clipboard
fl_pin_code: ^0.0.8 copied to clipboard

Simple and Beautiful widget for showing PIN codes in Flutter applications.

fl_pin_code #

pub package License: BSD-3-Clause Dart language

fl_pin_code #

fl_pin_code helps to display Pin codes for Flutter applications.

Feature 👇👇 #

  • obscure support
  • ...

Installing 🔧 #

Install the latest version from pub.

Installing #

Use this package as a library #

1. Depend on it #

Add this to your package's pubspec.yaml file:

dependencies:
  fl_pin_code: ^0.0.8

2. Install it #

You can install packages from the command line: with Flutter:

$ flutter packages get

Alternatively, your editor might support flutter packages get. Check the docs for your editor to learn more.

3. Import it #

Now in your Dart code, you can use:

import 'package:fl_pin_code/fl_pin_code.dart';

Usage #

            PinCode(
                    numberOfFields: 5,
                    fieldWidth: 40.0,
                    style: TextStyle(color: Colors.black, fontSize: 15),
                    fieldStyle: PinCodeStyle.box),
                    
            PinCode(
                  keyboardType: TextInputType.number,
                  isObscure: true,
                  numberOfFields: 5,
                  fieldWidth: 40.0,
                  style: TextStyle(color: Colors.black, fontSize: 15),
                  fieldStyle: PinCodeStyle.box,
                  onCompleted: (text) {
                    setState(() {
                      hash.pinHash = text;
                    });
                  },
            ),
5
likes
150
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

Simple and Beautiful widget for showing PIN codes in Flutter applications.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on fl_pin_code