Open mishubham opened 5 years ago
itemBuilder: (_, DataSnapshot messageSnapshot, Animation animation) { return new ChatMessageListItem( messageSnapshot: messageSnapshot, animation: animation, ); },
this gives error. please tell mi solution
Use this
itemBuilder: (_, DataSnapshot messageSnapshot, Animation animation, int x) { return new ChatMessageListItem( messageSnapshot: messageSnapshot, animation: animation, ); },
okay thanx
itemBuilder: (_, DataSnapshot messageSnapshot, Animation animation) {
return new ChatMessageListItem(
messageSnapshot: messageSnapshot,
animation: animation,
);
},
this gives error. please tell mi solution