A beautiful looking pin_code_view for flutter apps, customizable and fluid. Pull requests are always welcomed.
- Code length customization
- On Screen keyboard
- Keyboard type customization
In the dependencies:
section of your pubspec.yaml
, add the following line:
pin_code_view: 0.3.0+1
import 'package:pin_code_view/pin_code_view.dart';
class MyWidget extends StatelessWidget {
Widget build(BuildContext context) {
return PinCode(
title: "Enter PIN Code",
subtitle: "Please enter the code you received on your Phone",
onChange: (String code) {
print(code);
},
obscurePin: true,
);
}
}