Chat constructor

const Chat({
  1. Key? key,
  2. bool readOnly = false,
  3. ChatController? chatController,
  4. ChatConfiguration configuration = const ChatConfiguration(),
  5. Future<void> onScrollToTop()?,
  6. Widget customInputField(
    1. BuildContext,
    2. ChatController
    )?,
})

Implementation

const Chat({
  super.key,
  this.readOnly = false,
  this.chatController,
  this.configuration = const ChatConfiguration(),
  this.onScrollToTop,
  this.customInputField,
});