UnderLineTextField constructor

const UnderLineTextField({
  1. Key? key,
  2. String? labelText,
  3. String? hintText,
  4. String? errorMsg,
  5. TextInputType? keyboardType,
  6. TextInputAction? textInputAction = TextInputAction.next,
  7. IconData? suffixIcon,
  8. VoidCallback? onTapSuffixIcon,
  9. TextEditingController? textController,
  10. ValueChanged<String>? onChanged,
  11. FormFieldValidator<String>? validator,
  12. FormFieldSetter<String>? onSaved,
  13. IconData? prefixIcon,
  14. VoidCallback? onTapPrefixIcon,
  15. VoidCallback? onFieldSubmitted,
  16. VoidCallback? onEditingComplete,
  17. FocusNode? focusNode,
  18. FocusNode? nextFocus,
  19. int? maxLines = 1,
  20. int maxTexts = 100,
  21. bool obscureText = false,
  22. bool? filled = false,
  23. Color? fillColor,
  24. bool? isUnderLine,
  25. 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,
});