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.

example/main.dart

import 'package:flutter/material.dart';
import 'package:pin_code_view/pin_code_view.dart';

class PinCodeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: PinCode(
        title: Text(
          "Lock Screen",
          style: TextStyle(
              color: Colors.white, fontSize: 25.0, fontWeight: FontWeight.bold),
        ),
        subTitle: Text(
          "Hello Boys",
          style: TextStyle(color: Colors.white),
        ),
        obscurePin: true, // to make pin * instead of number
        codeLength: 6,
        onCodeEntered: (code) {
          //callback after full code has been entered
          print(code);
        },
      ),
    );
  }
}
6
likes
0
pub points
76%
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