{"id":32268126,"url":"https://github.com/bynicodevelop/flutter_profile_card","last_synced_at":"2026-02-21T07:02:26.638Z","repository":{"id":56829998,"uuid":"321433338","full_name":"bynicodevelop/flutter_profile_card","owner":"bynicodevelop","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-31T14:48:36.000Z","size":84,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T22:16:11.015Z","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-14T18:10:51.000Z","updated_at":"2021-03-16T13:02:55.000Z","dependencies_parsed_at":"2022-09-02T05:50:45.855Z","dependency_job_id":null,"html_url":"https://github.com/bynicodevelop/flutter_profile_card","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bynicodevelop/flutter_profile_card","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_profile_card","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_profile_card/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_profile_card/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_profile_card/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bynicodevelop","download_url":"https://codeload.github.com/bynicodevelop/flutter_profile_card/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bynicodevelop%2Fflutter_profile_card/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29554387,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T18:16:07.221Z","status":"ssl_error","status_checked_at":"2026-02-17T18:16:04.782Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-22T22:08:42.529Z","updated_at":"2026-02-21T07:02:26.623Z","avatar_url":"https://github.com/bynicodevelop.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flutter_profile_card\n\nThis plugin allows you to display a user profile with its followers and followings.\n\nAlso allows to have a button to follow the user profile.\n\n![](https://media.giphy.com/media/SbxjWP7WmC4EmAPcfD/giphy.gif)\n\n## Getting Started\n\n```\nimport 'package:flutter/material.dart';\nimport 'dart:async';\n\nimport 'package:flutter/services.dart';\nimport 'package:flutter_profile_card/flutter_profile_card.dart';\nimport 'package:flutter_profile_card/models/Profile.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  bool _isFollow = false;\n  ProfileModel _profileModel;\n\n  @override\n  void initState() {\n    // Define the model\n    _profileModel = ProfileModel(\n      uid: '1234567890',\n      username: 'John Doe',\n      status: 'John doe is certainly the best development but very discreet...',\n      avatarURL: 'https://picsum.photos/200',\n      followers: 1,\n      followings: 1234,\n    );\n\n    super.initState();\n  }\n\n  @override\n  Widget build(BuildContext context) {\n    return MaterialApp(\n      theme: ThemeData(\n        accentColor: Colors.green,\n        textTheme: TextTheme(\n          bodyText2: TextStyle(\n            fontSize: 16.0,\n          ),\n        ),\n      ),\n      home: Scaffold(\n        appBar: AppBar(\n          title: const Text('Plugin example app'),\n        ),\n        body: ProfileCard(\n          // Add the model in the widget parameter\n          profile: _profileModel,\n          // Capture the follow event\n          onFollowed: (ProfileModel profile) {\n            print(profile.toJson());\n            setState(() {\n              // Database code...\n              _isFollow = !_isFollow;\n\n              _profileModel.isFollowed = _isFollow;\n              _profileModel.updateFollowers = _isFollow ? 2 : 1;\n            });\n          },\n        ),\n      ),\n    );\n  }\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbynicodevelop%2Fflutter_profile_card","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbynicodevelop%2Fflutter_profile_card","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbynicodevelop%2Fflutter_profile_card/lists"}