chatInputField method
Widget
chatInputField(
- BuildContext context,
- String? label,
- TextEditingController? controller,
- FocusNode focusNode, {
- dynamic onSubmit()?,
- double? height,
- bool? enabled,
Implementation
Widget chatInputField(BuildContext context, String? label,
TextEditingController? controller, FocusNode focusNode,
{Function(String)? onSubmit, double? height, bool? enabled}) {
return DUI.input.smallTextField(controller, focusNode, context,
onSubmit: onSubmit,
enabled: enabled,
maxLines: 3,
minLines: 1,
label: label);
}