UnderLineTextField constructor
const
UnderLineTextField({
- Key? key,
- String? labelText,
- String? hintText,
- String? errorMsg,
- TextInputType? keyboardType,
- TextInputAction? textInputAction = TextInputAction.next,
- IconData? suffixIcon,
- VoidCallback? onTapSuffixIcon,
- TextEditingController? textController,
- ValueChanged<
String> ? onChanged, - FormFieldValidator<
String> ? validator, - FormFieldSetter<
String> ? onSaved, - IconData? prefixIcon,
- VoidCallback? onTapPrefixIcon,
- VoidCallback? onFieldSubmitted,
- VoidCallback? onEditingComplete,
- FocusNode? focusNode,
- FocusNode? nextFocus,
- int? maxLines = 1,
- int maxTexts = 100,
- bool obscureText = false,
- bool? filled = false,
- Color? fillColor,
- bool? isUnderLine,
- InputBorder? border,
Implementation
const UnderLineTextField({
super.key,
this.labelText,
this.hintText,
this.errorMsg,
this.keyboardType,
this.textInputAction = TextInputAction.next,
this.suffixIcon,
this.onTapSuffixIcon,
this.textController,
this.onChanged,
this.validator,
this.onSaved,
this.prefixIcon,
this.onTapPrefixIcon,
this.onFieldSubmitted,
this.onEditingComplete,
this.focusNode,
this.nextFocus,
this.maxLines = 1,
this.maxTexts = 100,
this.obscureText = false,
this.filled = false,
this.fillColor,
this.isUnderLine,
this.border,
});