flutter_verification_code
1.1.7, released 3 years ago by agoradesk.com
A Flutter package that helps you create a verification input field.
What it does
Provides a customizable verification code input widget that supports features like multi-box digit entry, copy/pasting entire codes, clearing inputs, and callbacks for completion and editing states.
AI-written summary of version 1.1.7, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need an OTP (One-Time Password) or SMS verification code entry screen
- You want customized underlined or boxed verification inputs with copy-paste support
Skip it when
- You need complex form validation libraries beyond standard text input entry
Strengths
- Supports copy/pasting the entire verification code
- Customizable styling including underline color, box borders, cursor color, and text style
- Handles backspace navigation between boxes easily
Weaknesses
- Limited documentation beyond basic examples and README
- Specific to verification code entry
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Not documented
VerificationCode(
textStyle: TextStyle(fontSize: 20.0, color: Colors.red[900]),
keyboardType: TextInputType.number,
length: 4,
onCompleted: (String value) {
print(value);
},
onEditing: (bool value) {
print(value);
},
)Alternatives
Packages that do the same job and could replace flutter_verification_code.
- pinput
Customizable animated PIN and OTP code input widget with autofill support.
93Compare - flutter_form_builder
Helps create forms in Flutter by removing boilerplate code and reusing validation.
82Compare - otp_pin_field
Generate customizable pin code and OTP input fields with animations.
54Compare - date_range_form_field
A Flutter FormField widget to input a DateRange using showDateRangePicker.
48Compare