DanUIFormInputText<T> constructor
const
DanUIFormInputText<T> ({
- Key? key,
- required TextEditingController controller,
- FocusNode? focusNode,
- Widget? label,
- Widget? prefixIcon,
- dynamic onTapPrefixIcon()?,
- bool useSeparator = false,
- Color separatorColor = Colors.black54,
- double separatorHeight = 24,
- double separatorSpace = 10,
- TextStyle? style,
- String? hintText,
- TextStyle? hintStyle,
- String? errorMessage,
- TextStyle? errorStyle,
- bool showBorder = true,
- double borderRadius = 8,
- Color? borderColor,
- Color? borderDisabledColor,
- Color? borderFocusedColor,
- Color? borderErrorColor,
- TextInputType? keyboardType,
- List<
TextInputFormatter> ? inputFormatters, - dynamic onChanged()?,
- String? validator()?,
- int? minLines,
- int? maxLines,
- TextInputAction? textInputAction,
- bool? enabled,
- EdgeInsets? contentPadding,
Implementation
const DanUIFormInputText({
super.key,
required this.controller,
this.focusNode,
this.label,
this.prefixIcon,
this.onTapPrefixIcon,
this.useSeparator = false,
this.separatorColor = Colors.black54,
this.separatorHeight = 24,
this.separatorSpace = 10,
this.style,
this.hintText,
this.hintStyle,
this.errorMessage,
this.errorStyle,
this.showBorder = true,
this.borderRadius = 8,
this.borderColor,
this.borderDisabledColor,
this.borderFocusedColor,
this.borderErrorColor,
this.keyboardType,
this.inputFormatters,
this.onChanged,
this.validator,
this.minLines,
this.maxLines,
this.textInputAction,
this.enabled,
this.contentPadding,
});