{"id":30421676,"url":"https://github.com/chen56/you","last_synced_at":"2026-02-17T23:01:32.132Z","repository":{"id":65612404,"uuid":"578940833","full_name":"chen56/you","owner":"chen56","description":"flutter note ","archived":false,"fork":false,"pushed_at":"2025-09-21T02:47:25.000Z","size":4037,"stargazers_count":7,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-21T04:23:53.115Z","etag":null,"topics":["dart","dart-note","flutter","flutter-demo","flutter-examples","flutter-notes","flutter-web"],"latest_commit_sha":null,"homepage":"https://chen56.github.io/you/flutter_web/","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/chen56.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-16T09:00:04.000Z","updated_at":"2025-09-21T02:47:30.000Z","dependencies_parsed_at":"2024-03-28T12:45:42.420Z","dependency_job_id":"5dfd5052-a254-4489-8b05-f2e40a66660a","html_url":"https://github.com/chen56/you","commit_stats":null,"previous_names":["chen56/note","younpc/note"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/chen56/you","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fyou","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fyou/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fyou/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fyou/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chen56","download_url":"https://codeload.github.com/chen56/you/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chen56%2Fyou/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29489501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T19:29:10.908Z","status":"ssl_error","status_checked_at":"2026-02-15T19:29:10.419Z","response_time":118,"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":["dart","dart-note","flutter","flutter-demo","flutter-examples","flutter-notes","flutter-web"],"created_at":"2025-08-22T09:02:31.103Z","updated_at":"2026-02-17T23:01:32.126Z","avatar_url":"https://github.com/chen56.png","language":"Dart","readme":"\n# you\n\n## project introduction\n\n## flutter note\n\nThe flutter note project has been published in \u003chttps://chen56.github.io/you/flutter_web\u003e\n\nyou can run it local by yourself:\n\n```bash\ngit clone git@github.com:chen56/note.git\n./bake install\n./bake flutter_web dev      # run as local macos app\n./bake flutter_web dev_html  # run as local web html app\n```\n\n\n## 框架设计原则：\n\n- 一般性的函数/对象oo设计原则，略...\n- 减少魔法代码，dart最牛逼的是依赖库的开源性，不要让人点进去时说我c，就这么个小功能搞这么复杂(比如本库内state.dart最初版本的字段自动注册机制，后改为主动调用注册函数)\n- 如有可能，尽量避免代码生成\n- 尽量减少对客户代码的干扰，比如给客户程序要求继承某XXXWidget基础类这种设计，违反flutter一般性直觉\n- 无生命期的设计，避免客户代码使用addListener/removeListener、open/close这种需要自己操心打开关闭等生命周期的方法，与其和内存泄漏作斗争，不如避免硬刚\n- 减少class static 函数,类似Types.isType()，应设计为 object method + global var的形式，'types=Types; types.isType()', 给客户程序依赖注入的机会","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen56%2Fyou","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchen56%2Fyou","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchen56%2Fyou/lists"}