SFInput constructor

const SFInput({
  1. Key? key,
  2. dynamic onChanged(
    1. String
    )?,
  3. dynamic onFieldSubmitted(
    1. String
    )?,
  4. TextEditingController? controller,
  5. String? validator(
    1. String?
    )?,
  6. double? width,
  7. String? label,
  8. Color? labelColor,
  9. TextStyle? labelStyle,
  10. String? helperText,
  11. Color? helperTextColor,
  12. TextStyle? helperTextStyle,
  13. Color? fillColor,
  14. String? hintText,
  15. Color? hintColor,
  16. String? errorText,
  17. Color? errorTextColor,
  18. TextStyle? errorStyle,
  19. bool obscureText = false,
  20. double inputDecorationBorderRadius = 10,
})

Implementation

const SFInput({
  super.key,
  this.onChanged,
  this.onFieldSubmitted,
  this.controller,
  this.validator,
  this.width,
  this.label,
  this.labelColor,
  this.labelStyle,
  this.helperText,
  this.helperTextColor,
  this.helperTextStyle,
  this.fillColor,
  this.hintText,
  this.hintColor,
  this.errorText,
  this.errorTextColor,
  this.errorStyle,
  this.obscureText = false,
  this.inputDecorationBorderRadius = 10,
});