Skip to content

Commit

Permalink
Version 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
awazgyawali committed Oct 3, 2018
1 parent b14e1e6 commit ee924ac
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 9 deletions.
21 changes: 13 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Pull requests are always welcomed.
In the `dependencies:` section of your `pubspec.yaml`, add the following line:

```yaml
pin_code_view: 0.0.1
pin_code_view: 0.0.3
```
## Usage
Expand All @@ -19,15 +19,20 @@ 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.",
title: Text(
"Lock Screen",
style: TextStyle(
color: Colors.white, fontSize: 25.0, fontWeight: FontWeight.bold),
),
subTitle: Text(
"Hello Boys",
style: TextStyle(color: Colors.white),
),
codeLength: 6,
onCodeEntered:(code){
//this function is invoked once the code is completely entered
onCodeEntered: (code) {
//callback after full code has been entered
print(code);
},
sendAgain:(){
//this function is invoked if the user presses send again button
}
);
}
}
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pin_code_view
description: 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.
version: 0.0.2
version: 0.0.3
author: Aawaz Gyawali <[email protected]>
homepage: https://github.com/awazgyawali/pin_code_view

Expand Down

0 comments on commit ee924ac

Please sign in to comment.