NiceChat constructor

const NiceChat({
  1. Key? key,
  2. required List<NiceChatMessage> messages,
  3. ValueChanged<String>? onSend,
  4. String? title,
  5. String placeholder = 'Type a message...',
  6. bool showAvatar = true,
})

Implementation

const NiceChat({
  super.key,
  required this.messages,
  this.onSend,
  this.title,
  this.placeholder = 'Type a message...',
  this.showAvatar = true,
});