{"id":14977002,"url":"https://github.com/krtirtho/platform_ui","last_synced_at":"2025-08-13T01:33:14.820Z","repository":{"id":63415662,"uuid":"540376901","full_name":"KRTirtho/platform_ui","owner":"KRTirtho","description":"Flutter platform specific Widgets and abstractions","archived":false,"fork":false,"pushed_at":"2023-05-24T13:27:21.000Z","size":8118,"stargazers_count":48,"open_issues_count":4,"forks_count":5,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-12-06T07:50:18.780Z","etag":null,"topics":["android","dart","flutter","flutter-package","flutter-ui","ios","libadwaita","linux","macos","windows-11"],"latest_commit_sha":null,"homepage":"https://krtirtho.github.io/platform_ui/","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/KRTirtho.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2022-09-23T09:52:45.000Z","updated_at":"2024-10-05T02:22:18.000Z","dependencies_parsed_at":"2024-09-27T23:01:00.187Z","dependency_job_id":null,"html_url":"https://github.com/KRTirtho/platform_ui","commit_stats":{"total_commits":82,"total_committers":3,"mean_commits":"27.333333333333332","dds":0.04878048780487809,"last_synced_commit":"d6566377d2d2378152f2df426990a4dcb09f619b"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRTirtho%2Fplatform_ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRTirtho%2Fplatform_ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRTirtho%2Fplatform_ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KRTirtho%2Fplatform_ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KRTirtho","download_url":"https://codeload.github.com/KRTirtho/platform_ui/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229724314,"owners_count":18114425,"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":["android","dart","flutter","flutter-package","flutter-ui","ios","libadwaita","linux","macos","windows-11"],"created_at":"2024-09-24T13:54:49.511Z","updated_at":"2024-12-14T15:57:28.846Z","avatar_url":"https://github.com/KRTirtho.png","language":"Dart","readme":"# Platform UI \n_by [@KRTirtho](https://github.com/KRTirtho)_\n\nFlutter platform specific UI widgets\n\nIt mimics the native UI widgets (android, iOS, macOS, linux and windows) as much as possible in Flutter \u0026 has a wide collection of platform specific widgets. The names and APIs are similar to Flutter's Material UI widgets to make the Flutter developer feel at home. It's utilizes:\n- [fluent_ui](https://pub.dev/packages/fluent_ui) for windows\n- [macos_ui](https://pub.dev/packages/macos_ui) for macOS\n- [Material UI/You](https://m3.material.io/) for android\n- [Cupertino](https://docs.flutter.dev/development/ui/widgets/cupertino) for iOS\n- [libadwaita](https://pub.dev/packages/libadwaita) for linux\n\n## Feature Highlights\n- Simple and customizable platform specific UI widgets\n- Supports all major platforms (android, iOS, macOS, linux and windows)\n- Exposes the internal API to build widgets on top of it\n- Changeable default `TargetPlatform` for overriding platform design in another platform (it's crazy but cool)\n- Wide collection of platform specific widgets\n- Widget APIs are similar to Flutter's Material UI widgets\n- Dark Mode support\n\n## Install\n\nRun following in a terminal:\n```bash\n$ flutter pub add platform_ui fluent_ui macos_ui libadwaita adwaita\n```\n\n## Preview\n\nhttps://krtirtho.github.io/platform_ui/\n\n## Usage\n\nImport the package:\n```dart\nimport 'package:platform_ui/platform_ui.dart';\n```\n\n## Example\n\n```dart\nimport 'package:flutter/material.dart';\nimport 'package:platform_ui/platform_ui.dart';\n\nvoid main() {\n  runApp(MyApp());\n}\n\nclass MyApp extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return PlatformApp(\n      title: 'Platform UI',\n      home: MyHomePage(),\n    );\n  }\n}\n\nclass MyHomePage extends StatelessWidget {\n  @override\n  Widget build(BuildContext context) {\n    return PlatformScaffold(\n      appBar: PlatformAppBar(\n        title: Text('Platform UI'),\n      ),\n      body: Center(\n        child: PlatformText(\n          'Hello World',\n          style: TextStyle(fontSize: 30),\n        ),\n      ),\n    );\n  }\n}\n```\n\n## Documentation\n\n- [API Reference](https://pub.dev/documentation/platform_ui/latest/)\n- [Example app](https://github.com/KRTirtho/platform_ui/blob/main/example/lib/main.dart)\n- Production App\n  - [Spotube](https://github.com/KRTirtho/spotube)\n\n## Screenshots\n\n### Desktop (Linux → Macos → Windows)\n\n![Desktop](https://raw.githubusercontent.com/KRTirtho/platform_ui/main/assets/desktop.png)\n\n### Mobile (Android → iOS)\n\n![Mobile](https://raw.githubusercontent.com/KRTirtho/platform_ui/main/assets/mobile.png)\n\n\n## Support\n\nIf you like this project, please consider supporting it by:\n- Starring and sharing the project\n- Following @KrTirtho on [Twitter](https://twitter.com/KrTirtho)\n- Buying us a coffee ☕️\n\n\u003ca href=\"https://www.buymeacoffee.com/krtirtho\"\u003e\n\u003cimg src=\"https://img.buymeacoffee.com/button-api/?text=Buy me a coffee\u0026emoji=\u0026slug=krtirtho\u0026button_colour=FF5F5F\u0026font_colour=ffffff\u0026font_family=Inter\u0026outline_colour=000000\u0026coffee_colour=FFDD00\" /\u003e\n\u003c/a\u003e\n\n## License\n\n[MIT](https://github.com/KRTirtho/platform_ui/blob/main/LICENSE)","funding_links":["https://www.buymeacoffee.com/krtirtho","https://img.buymeacoffee.com/button-api/?text=Buy"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrtirtho%2Fplatform_ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrtirtho%2Fplatform_ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrtirtho%2Fplatform_ui/lists"}