reactive_phone_form_field
5.0.2, released a year ago by an unverified publisher
Reactive wrapper for phone_form_field to use with reactive_forms.
What it does
Provides a ReactivePhoneFormField widget that connects phone_form_field to reactive_forms. Includes a PhoneNumberValueAccessor to map phone values to form controls.
AI-written summary of version 5.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are already using reactive_forms and need a phone number input field.
- You want automatic form‑state handling and validation for phone numbers.
Skip it when
- You are not using reactive_forms (e.g., using Flutter's native Form).
- You need a highly custom phone UI not offered by phone_form_field.
Strengths
- Seamless integration with reactive_forms
- Keeps phone_form_field features like country selector and validation
- Supports latest reactive_forms (18.x)
Weaknesses
- Only works with reactive_forms, not standard Form widgets
- Documentation is minimal
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 2
final form = fb.group({
'phone': FormControl<String>(validators: [Validators.required]),
});
ReactivePhoneFormField(
formControlName: 'phone',
// optional phone_form_field parameters
);Alternatives
Packages that do the same job and could replace reactive_phone_form_field.
- moform
Reactive, type-safe form fields for Flutter without managing TextEditingControllers.
60Compare - flutter_country_selector
A country picker widget to select a country, now re-exported from phone_form_field.
75Compare - reactive_date_time_picker
A wrapper around Flutter date and time pickers to integrate them with reactive_forms.
56Compare - reactive_dropdown_search
A wrapper around dropdown_search to use with reactive_forms.
54Compare
Works with
Packages commonly used together with reactive_phone_form_field: ones it builds on, ones built on it, and its own family.