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

outdated

A flutter plugin to show beautiful pin code view.

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.0.1

Usage #

import 'package:pin_code_view/pin_code_view.dart';

class MyWidget extends StatelessWidget {
  Widget build(BuildContext context) {
    return PinCode(
      title: "Verification code",
      subTitle: "A code has been sent to your phone number.", 
      codeLength: 6,
      onCodeEntered:(code){
        //this function is invoked once the code is completely entered
      },
      sendAgain:(){
        //this function is invoked if the user presses send again button
      }
    );
  }
}
6
likes
0
pub points
75%
popularity

Publisher

verified publisherbrainants.com

A flutter plugin to show beautiful pin code view.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on pin_code_view