flutterfire_desktop
一个早期阶段的、实验性的纯 Dart 实现的 Firebase SDK。
- 星标
- 414
- 复刻
- 62
- 最近推送(UTC)
- 2026年5月13日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Firebase's Dart SDK
The Dart SDK allows Flutter and Dart apps to consume Firebase services.
It is an early-stage, experimental pure-Dart implementation of Firebase SDKs, without wrapping the existing Android, iOS, web, or C++ SDKs. The initial work is focused on supporting Firebase for Linux and Windows platforms.
Usage
To use this plugin, add the following dependencies to your app's pubspec.yaml file, along with the main plugin:
dependencies:
firebase_auth: ^3.1.5
firebase_auth_desktop: ^0.1.1-dev.0
firebase_core: ^1.9.0
firebase_core_desktop: ^0.1.1-dev.0
Firebase App Initialization
Unlike the Firebase Flutter SDK, the Firebase initialization is done from Dart code, which means no additional config files are required.
DEFAULT app
To initialize the default app, provide only options without a name.
await Firebase.initializeApp(
options: const FirebaseOptions(
apiKey: '...',
appId: '...',
messagingSenderId: '...',
projectId: '...',
)
);
Secondary app
await Firebase.initializeApp(
name: 'SecondaryApp',
options: const FirebaseOptions(
apiKey: '...',
appId: '...',
messagingSenderId: '...',
projectId: '...',
)
);
Contributing
This is a community project, contributions to help it progress faster are welcome:
- Before starting, please read the contribution guide of FlutterFire.
- Refer to the projects board to see the current progress & planned future work.
分类
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗