Form Builder Phone Field

  Form

International phone number field for flutter_form_builder package.

Table of content


  • Features
  • Usage
    • Setup
    • Basic use
  • Support
    • Contribute
    • Questions and answers

Features

  • Country selector
  • Automatic parsing of international number

Usage

Setup

Configure dependency phone_number. More details here

Basic use

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

See pub.dev example tab or github code for more details

Support

Contribute

You have some ways to contribute to this packages

  • Beginner: Reporting bugs or request new features
  • Intermediate: Implement new features (from issues or not) and created pull requests
  • Advanced: Join the organization like a member and help coding, manage issues, dicuss new features and other things

See contribution guide for more details

Questions and answers

You can question or search answers on Github discussion or on StackOverflow

Download source code on GitHub