code_fields 0.0.4 code_fields: ^0.0.4 copied to clipboard
A package that allows you to create code fields with customization options for Flutter. It can be useful for OTP and other verification methods.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add code_fields
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
code_fields: ^0.0.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:code_fields/code_fields.dart';