flutter_superchat 1.0.3 flutter_superchat: ^1.0.3 copied to clipboard
Chating Ui Template - You can build a buitiful chat application with few lines of code. Easy to customise and easy to understand the code.
flutter_superchat #
Flutter Chatting Ui Template.
Chat Template Integration. #
Implement Chat Template with very minimal lines of code. Want to implement this in your project?
Steps To Integrate it into your project . #
CustomChatTemplate(2,itemBuilder: (context,index){
return (index % 2 == 0) ?
LeftMessage(text: "Hey this auther is crazy",) :
RightMessage(text: "Indeed he is..!",);
},
onTap: (int index){
print(index.toString());
}
)
Types Of Message You can Send . #
Constructores CustomChatTemplate #
(
this.itemCount
{this.itemBuilder,
this.scrollController,
this.onTap,
this.onLongTap
});
LeftMessage and RightMessage uses following Constructors
({
this.text,
this.textColor,
this.backgroundColor,
this.fontSize,
this.readText,
this.tickImage,
this.fontName
});
LeftImage and RightImage uses following Constructors
({
this.backgroundColor,
this.fontName,
this.tickImage,
this.readText,
this.image,
this.heroTag
});
LeftVideo and RightVideo uses following Constructors
({
this.backgroundColor,
this.fontName,
this.tickImage,
this.readText,
this.thumbNail,
this.heroTag
});
Help.
- You can email me to nikhilishwar2@gmail.com if any update or suggestion required and also support me with the improvement of this project.