ChatScreen constructor

const ChatScreen({
  1. Key? key,
  2. List<ChatMessageStructure>? initialMessages,
  3. String? iconInitial,
  4. String? name,
  5. Color? receiverBackgroundColor,
  6. Color? senderBackgroundColor,
  7. Color? avatarBackgroundColor,
  8. String? placeholderText,
  9. required void onBackPressed(),
})

Implementation

const ChatScreen(
    {super.key,
    this.initialMessages,
    this.iconInitial,
    this.name,
    this.receiverBackgroundColor,
    this.senderBackgroundColor,
    this.avatarBackgroundColor,
    this.placeholderText,
    required this.onBackPressed});