CommunityChatRoomView constructor

const CommunityChatRoomView({
  1. Key? key,
  2. required UserModel userData,
  3. Color textFieldBorderColor = Colors.blue,
  4. String defaultImage = "https://github.com/mudassir060/firebase_realtime_chat/blob/main/assets/profile.jpeg?raw=true",
  5. AppBar? appBar,
  6. Color iconColor = Colors.grey,
  7. int imageQuality = 25,
  8. bool imageDownloadButton = false,
  9. Color ownerBubbleColor = const Color.fromARGB(255, 199, 249, 245),
  10. Color otherBubbleColor = const Color.fromARGB(255, 250, 236, 193),
})

Implementation

const CommunityChatRoomView({
  super.key,
  required this.userData,
  this.textFieldBorderColor = Colors.blue,
  this.defaultImage =
      "https://github.com/mudassir060/firebase_realtime_chat/blob/main/assets/profile.jpeg?raw=true",
  this.appBar,
  this.iconColor = Colors.grey,
  this.imageQuality = 25,
  this.imageDownloadButton = false,
  this.ownerBubbleColor = const Color.fromARGB(255, 199, 249, 245),
  this.otherBubbleColor = const Color.fromARGB(255, 250, 236, 193),
});