{"id":21259278,"url":"https://github.com/buijs-dev/klutter-cookbook","last_synced_at":"2025-03-15T06:41:46.517Z","repository":{"id":168734837,"uuid":"641263426","full_name":"buijs-dev/klutter-cookbook","owner":"buijs-dev","description":"Recipes for working with klutter","archived":false,"fork":false,"pushed_at":"2024-05-24T15:59:23.000Z","size":2965,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T21:46:49.020Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/buijs-dev.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}},"created_at":"2023-05-16T05:47:55.000Z","updated_at":"2024-05-24T15:59:27.000Z","dependencies_parsed_at":"2025-01-21T21:43:33.644Z","dependency_job_id":"7f0ee637-a3cc-472b-9397-b61538bc1b18","html_url":"https://github.com/buijs-dev/klutter-cookbook","commit_stats":null,"previous_names":["buijs-dev/klutter-cookbook"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fklutter-cookbook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fklutter-cookbook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fklutter-cookbook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buijs-dev%2Fklutter-cookbook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buijs-dev","download_url":"https://codeload.github.com/buijs-dev/klutter-cookbook/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243695513,"owners_count":20332626,"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":[],"created_at":"2024-11-21T04:13:28.751Z","updated_at":"2025-03-15T06:41:46.484Z","avatar_url":"https://github.com/buijs-dev.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/badge/Buijs-Software-blue)](https://pub.dev/publishers/buijs.dev/packages)\n[![GitHub](https://img.shields.io/github/license/buijs-dev/klutter-cookbook?color=black)](https://github.com/buijs-dev/klutter/blob/main/LICENSE)\n\n\u003cimg src=\"https://github.com/buijs-dev/klutter/blob/develop/.github/assets/metadata/icon/klutter_logo.png?raw=true\" alt=\"buijs software klutter logo\" /\u003e\n\nKlutter is a framework which interconnects Flutter and Kotlin Multiplatform.\nIt can be used to create Flutter plugins. \nThis cookbook contains examples of both the platform (Kotlin) and ui (Flutter) code.\nAll recipes are based on Klutter version 2024.1.3.beta.\n\n## Local setup\nBefore following a recipe locally, you need to set up [kradle](https://buijs.dev/kradle-1/) \nby running the following command in the example:\n\n```shell\n./gradlew klutterGetKradle\n```\n\nCreate a kradle.env file in the example root directory with the following content:\n\n```properties\ncache={{system.user.home}}/.kradle/cache/\noutput.path={{project.build}}/klutter\nskip.codegen=false\nprotoc.url=https://github.com/protocolbuffers/protobuf/releases/download/v25.3/protoc-25.3-osx-universal_binary.zip\n```\n\nIn the root **and** root/android folder add local.properties with the following content:\n```properties\nsdk.dir=/path-to-your-android-sdk\nflutter.sdk=/path-to-your-flutter-dist\n```\n\nYou can then build the project simply by running:\n\n```shell\n./kradle build\n```\n\nThe example app can be started from root/example/lib/main.dart.\n\n## Recipes\n- [Hello World](hello_world)\n- [Stateless UI](stateless_ui)\n\n## Migration Guides\nUpgrading klutter is not always straightforward, due to its beta status. \nSee migration guides for more information.\n\n- [2023.1.1.beta to 2023.3.1.beta](migration/2023.3.1.beta.md)\n- [2023.3.1.beta to 2024.1.3.beta](migration/2024.1.3.beta.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuijs-dev%2Fklutter-cookbook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuijs-dev%2Fklutter-cookbook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuijs-dev%2Fklutter-cookbook/lists"}