ChatListview constructor
const
ChatListview({
- Key? key,
- required List<
ChatModel> chatList, - required bool isDategroup,
- double gropByTextsize = 12,
- double bubbleBorder = 15,
- Color senderBgColor = Colors.blue,
- Color receiverBgColor = Colors.grey,
- Color senderTextColor = Colors.white,
- Color groupByTextColor = Colors.white,
- Color receiverTextColor = Colors.black,
- bool isReverse = true,
Implementation
const ChatListview(
{super.key,
required this.chatList,
required this.isDategroup,
this.gropByTextsize = 12,
this.bubbleBorder = 15,
this.senderBgColor = Colors.blue,
this.receiverBgColor = Colors.grey,
this.senderTextColor = Colors.white,
this.groupByTextColor = Colors.white,
this.receiverTextColor = Colors.black,
this.isReverse = true});