firebase_web 5.0.9 firebase_web: ^5.0.9 copied to clipboard
Firebase libraries for Dart on the web and server with Cloud Functions
import 'dart:html';
import 'package:firebase_web/firebase.dart' as fb;
import 'package:firebase_web/src/assets/assets.dart';
main() async {
//Use for firebase package development only
await config();
try {
fb.initializeApp(
apiKey: apiKey,
authDomain: authDomain,
databaseURL: databaseUrl,
storageBucket: storageBucket,
projectId: projectId);
//Your app here
} on fb.FirebaseJsNotLoadedException catch (e) {
print(e);
}
}