simple_firebase 0.0.2 simple_firebase: ^0.0.2 copied to clipboard
A qol package to simplify the process of handling firebase.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add simple_firebase
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
simple_firebase: ^0.0.2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:simple_firebase/PlatformClients/rest_api_io.dart';
import 'package:simple_firebase/PlatformClients/rest_api_web.dart';
import 'package:simple_firebase/auth.dart';
import 'package:simple_firebase/example/firestoretest.dart';
import 'package:simple_firebase/example/main.dart';
import 'package:simple_firebase/example/rtdbTest.dart';
import 'package:simple_firebase/firestore.dart';
import 'package:simple_firebase/imagestorage.dart';
import 'package:simple_firebase/rtdb.dart';