pin_code_view 0.1.0 copy "pin_code_view: ^0.1.0" to clipboard
pin_code_view: ^0.1.0 copied to clipboard

outdated

A flutter plugin to show beautiful pin code view. A on screen keyboard is placed at the bottom of the screen and a code view with blocks are added on the top of the screen.

pin_code_view #

A beautiful looking pin_code_view for flutter apps, customizable and fluid. Pull requests are always welcomed.

Installation #

In the dependencies: section of your pubspec.yaml, add the following line:

  pin_code_view: 0.1

Usage #

import 'package:pin_code_view/pin_code_view.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return PinCode(
      title: Text(
        "Lock Screen",
        style: TextStyle(
            color: Colors.white, fontSize: 25.0, fontWeight: FontWeight.bold),
      ),
      
      subTitle: Text(
        "Enter the pin code",
        style: TextStyle(color: Colors.white),
      ),
      codeLength: 6,
      onCodeEntered: (code) {
        //callback after full code has been entered
        print(code);
      },
    );
  }
}
6
likes
0
pub points
75%
popularity

Publisher

verified publisherbrainants.com

A flutter plugin to show beautiful pin code view. A on screen keyboard is placed at the bottom of the screen and a code view with blocks are added on the top of the screen.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pin_code_view