ChatInput constructor

ChatInput({
  1. Key? key,
  2. void onSend(
    1. TextMessage message
    )?,
  3. required User user,
  4. required EdgeInsetsGeometry padding,
  5. void attachBtnClicked()?,
  6. void onFileSelected(
    1. ImageMessage message,
    2. XFile image
    )?,
  7. Color? cursorColor,
})

Implementation

ChatInput(
    {Key? key,
    this.onSend,
    required this.user,
    required this.padding,
    this.attachBtnClicked,
    this.onFileSelected,
    this.cursorColor})
    : super(key: key);