higorlapa/chat-list-flutter-package
채팅 애플리케이션을 시작하는 데 도움이 되는 채팅 목록 위젯 패키지
- Stars
- 5
- Forks
- 5
- 최근 푸시(UTC)
- 2021. 3. 10.
- 프로젝트 상태
- 활성
언어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