form_builder_phone_field 0.1.0 copy "form_builder_phone_field: ^0.1.0" to clipboard
form_builder_phone_field: ^0.1.0 copied to clipboard

outdated

Field for international phone number input for flutter_form_builder package.

form_builder_phone_field #

Phone input field for flutter_form_builder package

Usage #

FormBuilderPhoneField(
  name: 'phone_number',
  decoration: const InputDecoration(
    labelText: 'Phone Number',
    hintText: 'Hint',
  ),
  priorityListByIsoCode: ['KE'],
  validator: FormBuilderValidators.compose([
    FormBuilderValidators.required(context),
  ]),
),