FxFormControl constructor

const FxFormControl({
  1. bool autofocus = false,
  2. Widget? prefixIcon,
  3. Widget? suffixIcon,
  4. String? label,
  5. String? hint,
  6. FormFieldValidator<String>? validator,
  7. TextInputType? keyboardType,
  8. TextInputAction? textInputAction,
  9. bool isPassword = false,
  10. String? initialValue,
  11. bool isHidden = false,
  12. TextEditingController? controller,
})

Implementation

const FxFormControl({
  this.autofocus = false,
  this.prefixIcon,
  this.suffixIcon,
  this.label,
  this.hint,
  this.validator,
  this.keyboardType,
  this.textInputAction,
  this.isPassword = false,
  this.initialValue,
  this.isHidden = false,
  this.controller,
});