NiceEventChat constructor

const NiceEventChat({
  1. Key? key,
  2. required List<NiceChatMessage> messages,
  3. void onSend(
    1. String text
    )?,
  4. String title = 'Chat',
  5. String placeholder = 'Type a message...',
  6. double maxHeight = 400,
})

Implementation

const NiceEventChat({
  super.key,
  required this.messages,
  this.onSend,
  this.title = 'Chat',
  this.placeholder = 'Type a message...',
  this.maxHeight = 400,
});