S360fTextInput constructor

const S360fTextInput({
  1. required String label,
  2. required String hint,
  3. Key? key,
  4. dynamic value,
  5. TextEditingController? controller,
  6. FocusNode? focusNode,
  7. bool disabled = false,
  8. bool readOnly = false,
  9. VoidCallback? onTap,
  10. Widget? suffixIcon,
  11. String? errorMessage,
  12. bool isError = false,
  13. bool? isRequired = false,
  14. TextInputType? keyboardType,
  15. List<TextInputFormatter>? inputFormatters,
  16. String? validator(
    1. String?
    )?,
  17. ValueChanged<String>? onSubmitted,
  18. Iterable<String>? autofillHints,
  19. bool obscureText = false,
  20. ValueChanged? onChanged,
  21. TextCapitalization textCapitalization = TextCapitalization.none,
  22. bool autofocus = false,
  23. bool allowDecimal = true,
  24. String? prefix,
  25. String? suffix,
  26. int? maxDecimals,
  27. int? minLength,
  28. int? maxLength,
  29. double maxTextFieldHeight = 46.0,
  30. bool useNumericFormatter = false,
  31. String? tooltipMessage,
  32. Widget? tooltipIcon,
  33. Color? tooltipIconColor,
  34. Color? backgroundColor,
  35. Key? textFieldKey,
  36. BorderRadius? borderRadius,
})

Implementation

const S360fTextInput({
  required this.label,
  required this.hint,
  super.key,
  this.value,
  this.controller,
  this.focusNode,
  this.disabled = false,
  this.readOnly = false,
  this.onTap,
  this.suffixIcon,
  this.errorMessage,
  this.isError = false,
  this.isRequired = false,
  this.keyboardType,
  this.inputFormatters,
  this.validator,
  this.onSubmitted,
  this.autofillHints,
  this.obscureText = false,
  this.onChanged,
  this.textCapitalization = TextCapitalization.none,
  this.autofocus = false,
  this.allowDecimal = true,
  this.prefix,
  this.suffix,
  this.maxDecimals,
  this.minLength,
  this.maxLength,
  this.maxTextFieldHeight = 46.0,
  this.useNumericFormatter = false,
  this.tooltipMessage,
  this.tooltipIcon,
  this.tooltipIconColor,
  this.backgroundColor,
  this.textFieldKey,
  this.borderRadius,
});