FormCast.email constructor

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

Cast to an email

Implementation

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

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