TLTextField constructor

const TLTextField({
  1. Key? key,
  2. String? defaultValue,
  3. String? hintText,
  4. int? maxLength,
  5. TextStyle? style,
  6. TextStyle? hintStyle,
  7. TextAlign? textAlign,
  8. TextInputType? keyboardType,
  9. List<TextInputFormatter>? inputFormatters,
  10. dynamic onChange(
    1. String
    )?,
  11. bool enable = true,
  12. dynamic onSubmit(
    1. String
    )?,
  13. FocusNode? focusNode,
  14. EdgeInsetsGeometry? contentPadding,
  15. InputBorder? border,
  16. InputBorder? enableBorder,
  17. InputBorder? disableBorder,
  18. InputBorder? focusBorder,
  19. dynamic onDispose()?,
  20. dynamic onFocusChange(
    1. bool
    )?,
  21. InputDecoration? inputDecoration,
})

Implementation

const TLTextField({
  Key? key,
  this.defaultValue,
  this.hintText,
  this.maxLength,
  this.style,
  this.hintStyle,
  this.textAlign,
  this.keyboardType,
  this.inputFormatters,
  this.onChange,
  this.enable = true,
  this.onSubmit,
  this.focusNode,
  this.contentPadding,
  this.border,
  this.enableBorder,
  this.disableBorder,
  this.focusBorder,
  this.onDispose,
  this.onFocusChange,
  this.inputDecoration,
}) : super(key: key);