form_builder_phone_field 1.0.0-beta.0 copy "form_builder_phone_field: ^1.0.0-beta.0" to clipboard
form_builder_phone_field: ^1.0.0-beta.0 copied to clipboard

outdated

Field for international phone number input for flutter_form_builder package.

packages.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),
  ]),
),