PhoneFormField constructor
PhoneFormField({
- Key? key,
- ValueNotifier<
PhoneNumber> ? controller, - String? validator()?,
- void onSave()?,
- void onChanged()?,
- ValueChanged<
PhoneNumber> ? onFieldSubmitted, - int maxLength = 10,
- InputDecoration? decoration,
Implementation
PhoneFormField({
Key? key,
this.controller,
this.validator,
this.onSave,
this.onChanged,
this.onFieldSubmitted,
this.maxLength = 10,
this.decoration,
}) : super(key: key);