Search packages, repositories and app categories

GitHub repositoryhigorlapa/chat-list-flutter-package

chat-list-flutter-package

A chatlist widget package to jumpstart your chat application

chat-list-flutter-package project cover
Stars
5
Forks
5
Last push (UTC)
Mar 10, 2021
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

chat_list

A flutter package to incorporate a chat view in a simple way and jump start your chat application.

Pub GitHub stars

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
),

Hígor Lapa GitHub avatar
GitHub author

Hígor Lapa ↗

Mobile developer

Recife, Brazil
LanguagesDartKotlinSwiftHTMLObjective-C

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • bubble^1.2.1
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗