NxTextFieldBorderBottom constructor
const
NxTextFieldBorderBottom({
- Key? key,
- IconData? icon,
- IconData? suffix,
- int maxLength = 100,
- bool isObsecure = false,
- String? textHint,
- String? label,
- String? textError = "",
- String? validatorText = "",
- TextInputType inputType = TextInputType.text,
- TextEditingController? controller,
- FormFieldValidator<
String> ? validator, - TextInputAction? inputAction,
- FontWeight fontWeight = FontWeight.w400,
- dynamic onFieldSubmitted()?,
- bool enable = true,
- bool readOnly = false,
- bool autofocus = false,
- FocusNode? focusNode,
- dynamic onChanged()?,
- List<
TextInputFormatter> ? inputFormatters, - VoidCallback? suffixClicked,
Implementation
const NxTextFieldBorderBottom({
Key? key,
this.icon,
this.suffix,
this.maxLength = 100,
this.isObsecure = false,
this.textHint,
this.label,
this.textError = "",
this.validatorText = "",
this.inputType = TextInputType.text,
this.controller,
this.validator,
this.inputAction,
this.fontWeight = FontWeight.w400,
this.onFieldSubmitted,
this.enable = true,
this.readOnly = false,
this.autofocus = false,
this.focusNode,
this.onChanged,
this.inputFormatters,
this.suffixClicked
}) : super(key: key);