NxTextFieldBorderBottom constructor

const NxTextFieldBorderBottom({
  1. Key? key,
  2. IconData? icon,
  3. IconData? suffix,
  4. int maxLength = 100,
  5. bool isObsecure = false,
  6. String? textHint,
  7. String? label,
  8. String? textError = "",
  9. String? validatorText = "",
  10. TextInputType inputType = TextInputType.text,
  11. TextEditingController? controller,
  12. FormFieldValidator<String>? validator,
  13. TextInputAction? inputAction,
  14. FontWeight fontWeight = FontWeight.w400,
  15. dynamic onFieldSubmitted(
    1. String
    )?,
  16. bool enable = true,
  17. bool readOnly = false,
  18. bool autofocus = false,
  19. FocusNode? focusNode,
  20. dynamic onChanged(
    1. String
    )?,
  21. List<TextInputFormatter>? inputFormatters,
  22. 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);