chatInputField method

Widget chatInputField(
  1. BuildContext context,
  2. String? label,
  3. TextEditingController? controller,
  4. FocusNode focusNode, {
  5. dynamic onSubmit(
    1. String
    )?,
  6. double? height,
  7. 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);
}