FxTextFormField constructor

const FxTextFormField({
  1. Key? key,
  2. String? hintText,
  3. String? label,
  4. Color? fieldColor,
  5. Color? borderColor,
  6. IconData? prefixIcon,
  7. IconData? suffixIcon,
  8. bool isSecure = false,
  9. BorderRadiusGeometry? borderRadius,
  10. int? maxLines,
  11. TextInputType? keyboardType,
  12. bool border = false,
  13. TextEditingController? controller,
  14. List<String>? validations,
  15. EdgeInsets? padding,
  16. List<BoxShadow>? boxShadow,
})

Constructs a FxTextFormField.

Implementation

const FxTextFormField({
  super.key,
  this.hintText,
  this.label,
  this.fieldColor,
  this.borderColor,
  this.prefixIcon,
  this.suffixIcon,
  this.isSecure = false,
  this.borderRadius,
  this.maxLines,
  this.keyboardType,
  this.border = false,
  this.controller,
  this.validations,
  this.padding,
  this.boxShadow,
});