S360fTextInput constructor
const
S360fTextInput({
- required String label,
- required String hint,
- Key? key,
- dynamic value,
- TextEditingController? controller,
- FocusNode? focusNode,
- bool disabled = false,
- bool readOnly = false,
- VoidCallback? onTap,
- Widget? suffixIcon,
- String? errorMessage,
- bool isError = false,
- bool? isRequired = false,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - String? validator()?,
- ValueChanged<
String> ? onSubmitted, - Iterable<
String> ? autofillHints, - bool obscureText = false,
- ValueChanged? onChanged,
- TextCapitalization textCapitalization = TextCapitalization.none,
- bool autofocus = false,
- bool allowDecimal = true,
- String? prefix,
- String? suffix,
- int? maxDecimals,
- int? minLength,
- int? maxLength,
- double maxTextFieldHeight = 46.0,
- bool useNumericFormatter = false,
- String? tooltipMessage,
- Widget? tooltipIcon,
- Color? tooltipIconColor,
- Color? backgroundColor,
- Key? textFieldKey,
- 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,
});