passcode

Last updated:

0 purchases

passcode Image
passcode Images
Add to Cart

Description:

passcode

passcode #
A Flutter widget for entering a passcode.

This widget allows you to customise number of characters, background and border colors and obscure text.

Example #
import 'package:flutter/material.dart';
import 'package:passcode/passcode.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(),
body: Center(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
PasscodeTextField(
onTextChanged: (passcode) {
print(passcode);
},
totalCharacters: 4,
borderColor: Colors.black,
passcodeType: PasscodeType.number,
),
],
),
),
),
);
}
}
copied to clipboard
Getting Started #
For help getting started with Flutter, view our online documentation.
For help on editing package code, view the documentation.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.