ChatRoomView constructor
const
ChatRoomView({
- Key? key,
- required UserModel senderMember,
- required UserModel receiverMember,
- String? smsText,
- Color iconColor = Colors.grey,
- Color textFieldBorderColor = Colors.blue,
- int imageQuality = 25,
- String defaultImage = "https://github.com/mudassir060/firebase_realtime_chat/blob/main/assets/profile.jpeg?raw=true",
- AppBar? appBar,
- bool imageDownloadButton = false,
- Color ownerBubbleColor = const Color.fromARGB(255, 199, 249, 245),
- Color otherBubbleColor = const Color.fromARGB(255, 250, 236, 193),
Implementation
const ChatRoomView({
super.key,
required this.senderMember,
required this.receiverMember,
this.smsText,
this.iconColor = Colors.grey,
this.textFieldBorderColor = Colors.blue,
this.imageQuality = 25,
this.defaultImage =
"https://github.com/mudassir060/firebase_realtime_chat/blob/main/assets/profile.jpeg?raw=true",
this.appBar,
this.imageDownloadButton = false,
this.ownerBubbleColor = const Color.fromARGB(255, 199, 249, 245),
this.otherBubbleColor = const Color.fromARGB(255, 250, 236, 193),
});