InputText constructor

const InputText({
  1. Key? key,
  2. InputTextChangeCallback? onTextChange,
  3. InputTextSubmitCallback? onSubmit,
  4. double maxHeight = 200,
  5. double minHeight = 50,
  6. Color bgColor = Colors.white,
  7. int maxLength = 200,
  8. int minLines = 1,
  9. String? hint,
  10. int? maxHintLines,
  11. EdgeInsetsGeometry padding = EdgeInsets.zero,
  12. String textString = "",
  13. bool? autoFocus,
  14. TextEditingController? textEditingController,
  15. FocusNode? focusNode,
  16. TextInputAction textInputAction = TextInputAction.done,
  17. double? borderRadius,
  18. Color? borderColor,
})

Implementation

const InputText({
  super.key,
  this.onTextChange,
  this.onSubmit,
  this.maxHeight = 200,
  this.minHeight = 50,
  this.bgColor = Colors.white,
  this.maxLength = 200,
  this.minLines = 1,
  this.hint,
  this.maxHintLines,
  this.padding = EdgeInsets.zero,
  this.textString = "",
  this.autoFocus,
  this.textEditingController,
  this.focusNode,
  this.textInputAction = TextInputAction.done,
  this.borderRadius,
  this.borderColor,
});