CustomFieldBox constructor

const CustomFieldBox({
  1. Key? key,
  2. String? label,
  3. String? inputValue,
  4. dynamic onChanged(
    1. String
    )?,
  5. String? errorText,
  6. String? validator(
    1. String?
    )?,
  7. Widget? suffixIcon,
  8. Widget? prefixIcon,
  9. String? initialValue,
  10. TextInputType? keyboardType,
  11. Iterable<String>? autofillHints,
  12. List<TextInputFormatter>? inputFormatters,
  13. bool obscureText = false,
  14. int maxLines = 1,
  15. TextEditingController? controller,
  16. bool readOnly = false,
  17. void onTap()?,
  18. AutovalidateMode? autovalidateMode,
  19. TextCapitalization textCapitalization = TextCapitalization.none,
})

Implementation

const CustomFieldBox({
  Key? key,
  this.label,
  this.inputValue,
  this.onChanged,
  this.errorText,
  this.validator,
  this.suffixIcon,
  this.prefixIcon,
  this.initialValue,
  this.keyboardType,
  this.autofillHints,
  this.inputFormatters,
  this.obscureText = false,
  this.maxLines = 1,
  this.controller,
  this.readOnly = false,
  this.onTap,
  this.autovalidateMode,
  this.textCapitalization = TextCapitalization.none,
}) : super(key: key);