{"id":13694393,"url":"https://github.com/aleksanderwozniak/deer","last_synced_at":"2025-04-06T04:10:03.020Z","repository":{"id":53148481,"uuid":"154816802","full_name":"aleksanderwozniak/deer","owner":"aleksanderwozniak","description":"Minimalist Flutter Todo App, built using BLoC pattern","archived":false,"fork":false,"pushed_at":"2020-11-11T16:33:35.000Z","size":7143,"stargazers_count":452,"open_issues_count":0,"forks_count":106,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-30T03:04:00.985Z","etag":null,"topics":["bloc","bloc-pattern","dart","deer","flutter","flutter-bloc-pattern","minimalist","task","todo"],"latest_commit_sha":null,"homepage":"","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleksanderwozniak.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2018-10-26T10:19:39.000Z","updated_at":"2025-03-07T04:21:52.000Z","dependencies_parsed_at":"2022-09-13T18:12:36.370Z","dependency_job_id":null,"html_url":"https://github.com/aleksanderwozniak/deer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderwozniak%2Fdeer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderwozniak%2Fdeer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderwozniak%2Fdeer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleksanderwozniak%2Fdeer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleksanderwozniak","download_url":"https://codeload.github.com/aleksanderwozniak/deer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247430869,"owners_count":20937874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bloc","bloc-pattern","dart","deer","flutter","flutter-bloc-pattern","minimalist","task","todo"],"created_at":"2024-08-02T17:01:30.839Z","updated_at":"2025-04-06T04:10:03.002Z","avatar_url":"https://github.com/aleksanderwozniak.png","language":"Dart","funding_links":[],"categories":["开源App","开源应用","Misc","Samples","Projects","Top [🔝](#readme)","Open Source Apps","Uncategorized"],"sub_categories":["Top","热门的","Flutter","Code analyzers","Uncategorized"],"readme":"\u003ch1 align=\"center\"\u003eDeer\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/aleksanderwozniak/deer/blob/master/assets/images/4.0x/deer_logo.png\" width=240\u003e \n\u003c/div\u003e\n\n\u003ch4 align=\"center\"\u003e\n  Minimalist Todo Planner app built around the idea of efficiency and clean aesthetic.\n\u003c/h4\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Solido/awesome-flutter\"\u003e\n     \u003cimg src=\"https://img.shields.io/badge/awesome-flutter-52bdeb.svg?longCache=true\u0026style=for-the-badge\" alt=\"Awesome Flutter\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n## Showcase\n\n\u003cdiv style=\"text-align: center\"\u003e\u003ctable\u003e\u003ctr\u003e\n  \u003ctd style=\"text-align: center\"\u003e\n    \u003cimg src=\"https://github.com/aleksanderwozniak/deer/blob/assets/deer.gif\" width=\"223\" /\u003e\n  \u003c/td\u003e\n  \u003ctd style=\"text-align: center\"\u003e\n    \u003cimg src=\"https://github.com/aleksanderwozniak/deer/blob/assets/indi_list.png\" width=\"250\" /\u003e\n  \u003c/td\u003e\n  \u003ctd style=\"text-align: center\"\u003e\n    \u003cimg src=\"https://github.com/aleksanderwozniak/deer/blob/assets/gold_shp_edt.png\" width=\"250\" /\u003e\n  \u003c/td\u003e\n  \u003ctd style=\"text-align: center\"\u003e\n    \u003cimg src=\"https://github.com/aleksanderwozniak/deer/blob/assets/mint_wrk_det.png\" width=\"250\" /\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\u003c/table\u003e\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href='https://play.google.com/store/apps/details?id=me.wozappz.deer\u0026pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'\u003e\u003cimg alt='Get it on Google Play' src='https://play.google.com/intl/en_gb/badges/images/generic/en_badge_web_generic.png' width=\"300\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n\n## Development\n\nDeer uses BLoC (Business Logic Component) pattern to manage app state. If you want to use Streams in your Flutter project, then I think this is the way to go. BLoC plays exceptionally well with Flutter's reactive nature, especially since Flutter has built-in `StreamBuilder` widget.\n\nEach screen is splitted into 4 files:\n- actions\n- bloc \n- screen (UI itself)\n- state\n\nInstead of calling `setState()` in screen file, an action is pushed to bloc's input `Stream\u003cAction\u003e`.\nThen, bloc resolves that action and updates the output `Stream\u003cState\u003e`. Every state update is listened to inside screen with `StreamBuilder`, which updates the UI when needed. This way we achieve clear separation of concerns.\n\nUsually with BLoC, `Sink` is used for input Stream, and `BehaviorSubject` for output Stream.\n\nCheck those resources for more details on the pattern:\n- https://youtu.be/PLHln7wHgPE\n- https://youtu.be/RS36gBEp8OI\n\n#### Using built_value\n```\nflutter packages pub run build_runner build --delete-conflicting-outputs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleksanderwozniak%2Fdeer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleksanderwozniak%2Fdeer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleksanderwozniak%2Fdeer/lists"}