FormCast.phoneNumber constructor

FormCast.phoneNumber({
  1. Widget? prefixIcon,
  2. bool clearable = false,
  3. Widget? clearIcon,
})

Cast to phone number

Implementation

FormCast.phoneNumber({
  Widget? prefixIcon,
  bool clearable = false,
  Widget? clearIcon,
}) {
  type = "phone_number";

  metaData = {};
  metaData['prefixIcon'] = prefixIcon;
  metaData['clearable'] = clearable;
  metaData['clearIcon'] = clearIcon;
}