MultilineField constructor

const MultilineField({
  1. Key? key,
  2. String? text,
  3. bool obscureText = false,
  4. Decoration? decoration,
  5. Decoration? focusDecoration,
  6. int? maxLines,
  7. TextInputAction textInputAction = TextInputAction.done,
  8. Color? normalColor,
  9. Color? focusColor,
  10. ValueChanged<String>? onSubmitted,
  11. TextEditingController? controller,
  12. String? hintText,
  13. FocusNode? focusNode,
  14. TextStyle? style,
  15. TextStyle? hintStyle,
  16. List<TextInputFormatter>? inputFormatters,
  17. VoidCallback? onEditingComplete,
  18. VoidCallback? cancelCallBack,
  19. FocusScopeNode? scopeNode,
  20. int? maxLength,
  21. String? exceedLimitTip,
  22. TextInputType keyboardType = TextInputType.text,
  23. bool enable = true,
  24. Color? cursorColor,
  25. double height = 200,
  26. EdgeInsetsGeometry? padding,
  27. bool? readOnly = false,
  28. ValueChanged<String>? onChanged,
  29. TextAlign textAlign = TextAlign.start,
})

Implementation

const MultilineField({
  Key? key,
  this.text,
  this.obscureText = false,
  this.decoration,
  this.focusDecoration,
  this.maxLines,
  this.textInputAction = TextInputAction.done,
  this.normalColor,
  this.focusColor,
  this.onSubmitted,
  this.controller,
  this.hintText,
  this.focusNode,
  this.style,
  this.hintStyle,
  this.inputFormatters,
  this.onEditingComplete,
  this.cancelCallBack,
  this.scopeNode,
  this.maxLength,
  this.exceedLimitTip,
  this.keyboardType = TextInputType.text,
  this.enable = true,
  this.cursorColor,
  this.height = 200,
  this.padding,
  this.readOnly = false,
  this.onChanged,
  this.textAlign = TextAlign.start,
}) : super(key: key);