{"id":32268501,"url":"https://github.com/libnativeapi/nativeapi-flutter","last_synced_at":"2026-04-07T04:31:46.531Z","repository":{"id":284372165,"uuid":"954738442","full_name":"libnativeapi/nativeapi-flutter","owner":"libnativeapi","description":"Flutter bindings for nativeapi - providing seamless, unified access to native system APIs.","archived":false,"fork":false,"pushed_at":"2026-02-23T13:17:47.000Z","size":703,"stargazers_count":57,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-03-24T15:19:57.140Z","etag":null,"topics":["nativeapi","tray-icon","window-manager"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/nativeapi","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/libnativeapi.png","metadata":{"files":{"readme":"README-ZH.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":"2025-03-25T14:42:29.000Z","updated_at":"2026-03-22T08:35:33.000Z","dependencies_parsed_at":"2025-04-17T14:20:17.770Z","dependency_job_id":"24a2c36b-20bd-4762-8c4c-56bacf77aecb","html_url":"https://github.com/libnativeapi/nativeapi-flutter","commit_stats":null,"previous_names":["leanflutter/nativeapi-flutter","libnativeapi/nativeapi-flutter"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/libnativeapi/nativeapi-flutter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libnativeapi%2Fnativeapi-flutter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libnativeapi%2Fnativeapi-flutter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libnativeapi%2Fnativeapi-flutter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libnativeapi%2Fnativeapi-flutter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/libnativeapi","download_url":"https://codeload.github.com/libnativeapi/nativeapi-flutter/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/libnativeapi%2Fnativeapi-flutter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"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":["nativeapi","tray-icon","window-manager"],"created_at":"2025-10-22T22:14:22.497Z","updated_at":"2026-04-07T04:31:46.520Z","avatar_url":"https://github.com/libnativeapi.png","language":"Dart","readme":"# nativeapi\n\n[nativeapi](https://github.com/libnativeapi/libnativeapi) 的 Flutter 绑定 - 提供无缝、统一的原生系统 API 访问。\n\n🚧 **开发中**: 此包目前正在积极开发中。\n\n## 快速开始\n\n在 `pubspec.yaml` 中添加 `nativeapi`:\n\n```yaml\ndependencies:\n  nativeapi: ^0.1.0\n```\n\n然后运行:\n\n```bash\nflutter pub get\n```\n\n### 使用方法\n\n\u003e 📖 详细的文档和示例即将推出！\n\n```dart\nimport 'package:nativeapi/nativeapi.dart';\n\n// 示例用法将在此处添加\n```\n\n## 开发\n\n### 前置要求\n\n- Flutter (\u003e=3.35.0)\n- Dart SDK (\u003e=3.9.0)\n\n### 设置\n\n1. 克隆仓库:\n\n```bash\ngit clone https://github.com/libnativeapi/nativeapi-flutter.git\ncd nativeapi-flutter\n```\n\n2. 初始化子模块:\n\n```bash\ngit submodule update --init --recursive\n```\n\n3. 安装依赖:\n\n```bash\nmelos bootstrap\n```\n\n4. 运行示例应用:\n\n```bash\ncd examples/display_example\nflutter run\n```\n\n### FFI 绑定\n\n本项目使用 ffigen 从 C 头文件生成 Dart FFI 绑定。要重新生成绑定:\n\n```bash\ncd packages/cnativeapi\ndart run ffigen --config ffigen.yaml\n```\n\nffigen 配置定义在 `packages/cnativeapi/ffigen.yaml` 中。通常在以下情况下需要重新生成绑定：\n- 原生 C 库 ([libnativeapi/nativeapi](https://github.com/libnativeapi/nativeapi)) 更新时\n- ffigen 配置被修改时\n\n## 许可证\n\n[MIT](./LICENSE)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibnativeapi%2Fnativeapi-flutter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flibnativeapi%2Fnativeapi-flutter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flibnativeapi%2Fnativeapi-flutter/lists"}