ChatScreen constructor

const ChatScreen({
  1. Key? key,
  2. required Session session,
  3. Widget? title = const Text('Chat'),
  4. Widget chatBubble(
    1. Message
    )?,
  5. InputDecoration? textFieldDecoration = const InputDecoration(hintText: 'Type a message', border: OutlineInputBorder()),
})

Implementation

const ChatScreen({
  super.key,
  required this.session,
  this.title = const Text('Chat'),
  this.chatBubble,
  this.textFieldDecoration = const InputDecoration(
    hintText: 'Type a message',
    border: OutlineInputBorder(),
  ),
});