firedart
0.9.8, released 3 years ago by cachapa.net
Dart-native client for Firebase Auth and Firestore without native SDKs.
What it does
Provides Email/Password, anonymous and custom token authentication and basic Firestore CRUD operations. Works in pure Dart environments and Flutter on all platforms.
AI-written summary of version 0.9.8, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need Firebase Auth or Firestore in a pure‑Dart or non‑mobile environment
- You want to avoid native Firebase SDKs and their platform setup
Skip it when
- You require full Firestore query support (filters, ordering, etc.)
- You need automatic token persistence or secure storage out of the box
Strengths
- Runs everywhere Dart runs, no native plugins
- Small dependency footprint
- Supports token stores via custom implementations
Weaknesses
- Limited Firestore query capabilities
- No built‑in secure token storage
- Streams are not auto‑recovered
Setup
- Kind
- Pure Dart
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 4
import 'package:firedart/firedart.dart';
Future<void> main() async {
FirebaseAuth.initialize('YOUR_API_KEY', await HiveStore.create());
await FirebaseAuth.instance.signIn('email@example.com', 'password');
var user = await FirebaseAuth.instance.getUser();
print(user.uid);
Firestore.initialize('YOUR_PROJECT_ID');
var users = await Firestore.instance.collection('users').get();
print(users);
}Alternatives
Packages that do the same job and could replace firedart.
- firebase_core
Official Firebase core package with full platform support
99Compare - cloud_firestore
Official Firestore client with complete query features
98Compare - firebase_auth_web
Official Auth client for web, works with other firebase_core packages
85Compare
Works with
Packages commonly used together with firedart: ones it builds on, ones built on it, and its own family.
- fixnumfiredart depends on itProvides 32‑ and 64‑bit signed fixed‑width integer types for Dart.
- protobuffiredart depends on itProvides runtime support for Dart protocol buffer messages generated by protoc_plugin.
- grpcfiredart depends on itDart implementation of gRPC, a high performance universal RPC framework.