InputText constructor
const
InputText({
- Key? key,
- InputTextChangeCallback? onTextChange,
- InputTextSubmitCallback? onSubmit,
- double maxHeight = 200,
- double minHeight = 50,
- Color bgColor = Colors.white,
- int maxLength = 200,
- int minLines = 1,
- String? hint,
- int? maxHintLines,
- EdgeInsetsGeometry padding = EdgeInsets.zero,
- String textString = "",
- bool? autoFocus,
- TextEditingController? textEditingController,
- FocusNode? focusNode,
- TextInputAction textInputAction = TextInputAction.done,
- double? borderRadius,
- 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,
});