Form Builder Phone Field

Pub Version GitHub Workflow Status CodeFactor Grade Codecov

International phone number field for FlutterFormBuilder package

Usage

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

Credits

Contributors

Made with contrib.rocks.

GitHub

View Github