higorlapa/chat-list-flutter-package
चैट एप्लिकेशन को शुरू करने के लिए एक चैटलिस्ट विजेट पैकेज
- Stars
- 5
- Forks
- 5
- अंतिम पुश (UTC)
- 10 मार्च 2021
- प्रोजेक्ट स्थिति
- सक्रिय
भाषाएँDartKotlinSwiftHTMLObjective-C
उपयोग की गई निर्भरताएँ
निर्भरता सूची 3 आइटम
- flutter
{"sdk":"flutter"} - bubble
^1.2.1 - flutter_testडेवलपमेंट
{"sdk":"flutter"}
मूल README
यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।
README खोलें / बंद करें
chat_list
A flutter package to incorporate a chat view in a simple way and jump start your chat application.
Example
See source
Usage
//Create a list with messages
final List<MessageWidget> _messageList = [
MessageWidget(
content: "Hi, Bill! This is the simplest example ever.",
ownerType: OwnerType.sender,
ownerName: "Higor Lapa"),
MessageWidget(
content:
"Let's make it better , Higor. Custom font size and text color",
textColor: Colors.black38,
fontSize: 18.0,
ownerType: OwnerType.receiver,
ownerName: "Bill Gates"),
];
final ScrollController _scrollController = ScrollController();
//Place the widget inside your build function
ChatList(
children: _messageList,
scrollController: _scrollController
),
https://github.com/lapadev/chat-list-flutter-package/blob/master/example/screenshots/example.png?raw=true