{"id":32273646,"url":"https://github.com/bynicodevelop/flutter_chat","last_synced_at":"2026-06-24T06:34:57.928Z","repository":{"id":56829196,"uuid":"321954839","full_name":"bynicodevelop/flutter_chat","owner":"bynicodevelop","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-31T14:37:56.000Z","size":91,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-08T21:19:44.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bynicodevelop.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-16T11:01:38.000Z","updated_at":"2020-12-31T14:37:58.000Z","dependencies_parsed_at":"2022-08-28T21:11:41.763Z","dependency_job_id":null,"html_url":"https://github.com/bynicodevelop/flutter_chat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bynicodevelop/flutter_chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bynicodevelop","download_url":"https://codeload.github.com/bynicodevelop/flutter_chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34574333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-22T23:25:03.459Z","updated_at":"2026-06-24T06:34:57.912Z","avatar_url":"https://github.com/bynicodevelop.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_chat\n\nAllows you to create a cat with the different elements that compose it.\n\n![](https://media.giphy.com/media/gUcSJkvAQdCygYM0va/giphy.gif)\n\n## Getting Started\n\n```\nimport 'package:faker/faker.dart';\nimport 'package:flutter/material.dart';\nimport 'package:flutter_chat_components/flutter_chat_components.dart';\nimport 'package:flutter_chat_components/MessageFied.dart';\nimport 'package:flutter_chat_components/models/Message.dart';\nimport 'package:flutter_chat_components/ButtonScrollDown.dart';\n\nvoid main() {\n  runApp(MyApp());\n}\n\nclass MyApp extends StatefulWidget {\n  @override\n  _MyAppState createState() =\u003e _MyAppState();\n}\n\nclass _MyAppState extends State\u003cMyApp\u003e {\n  final ScrollController _scrollController = ScrollController();\n  final Faker _faker = Faker();\n  final List\u003cMessageModel\u003e _messages = List\u003cMessageModel\u003e();\n  final List\u003cString\u003e _usersId = List\u003cString\u003e();\n\n  bool _showScollButton = false;\n\n  void _scrollToBottom() {\n    if (_scrollController != null) {\n      _scrollController.animateTo(\n        _scrollController.position.maxScrollExtent + 100.0,\n        duration: Duration(milliseconds: 300),\n        curve: Curves.easeOut,\n      );\n    }\n  }\n\n  @override\n  void initState() {\n    super.initState();\n\n    _usersId.addAll([\n      _faker.guid.guid(),\n      _faker.guid.guid(),\n    ]);\n\n    _messages.add(\n      MessageModel(\n        uid: _faker.guid.guid(),\n        userUid: _usersId[0],\n        text: 'First message',\n      ),\n    );\n\n    for (int i = 0; i \u003c 30; i++) {\n      int randInt = _faker.randomGenerator.integer(9);\n\n      _messages.add(\n        MessageModel(\n          uid: _faker.guid.guid(),\n          userUid: randInt % 2 != 0 ? _usersId[0] : _usersId[1],\n          text: _faker.lorem.sentences(2).join('\\n'),\n        ),\n      );\n    }\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      home: Scaffold(\n        appBar: AppBar(\n          title: const Text('Plugin example app'),\n        ),\n        body: Padding(\n          padding: const EdgeInsets.symmetric(\n            horizontal: 10.0,\n          ),\n          child: Chat(\n            messages: _messages,\n            currentUserUid: _usersId[0],\n            scrollController: _scrollController,\n            isBottom: (value) =\u003e setState(() =\u003e _showScollButton = value),\n          ),\n        ),\n        floatingActionButton: ButtonScrollDown(\n          scrollToBottom: _scrollToBottom,\n          showScollButton: _showScollButton,\n        ),\n        bottomNavigationBar: MessageField(\n          currentUserUid: _usersId[0],\n          onSend: (MessageModel value) {\n            print(value.toJson());\n            setState(() =\u003e _messages.add(value));\n\n            // Automatically scroll to the last message sent\n            // if the scrollController is define in the Chat widget\n            _scrollToBottom();\n\n            setState(() =\u003e print('Refreshing view...'));\n          },\n        ),\n      ),\n    );\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbynicodevelop%2Fflutter_chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbynicodevelop%2Fflutter_chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbynicodevelop%2Fflutter_chat/lists"}