firestore_ref 0.4.1+3 copy "firestore_ref: ^0.4.1+3" to clipboard
firestore_ref: ^0.4.1+3 copied to clipboard

outdated

Firestore reference/document typed acccess helpers. You can write organized safe code by this.

example/lib/main.dart

import 'package:firestore_ref/firestore_ref.dart';
import 'package:flutter/material.dart';

import 'app.dart';
import 'model/service/service.dart';
import 'util/util.dart';

void main() {
  logger.fine('start');
  WidgetsFlutterBinding.ensureInitialized();
  configureFirestore(persistenceEnabled: true);
  runApp(
    MultiProvider(
      providers: [
        Provider(builder: (context) => AppInfo()),
        ChangeNotifierProvider(
          builder: (context) => Authenticator()..signInAnonymously(),
        ),
      ],
      child: App(),
    ),
  );
}

class AppInfo {
  String get title => 'Firebase Counter';
}
25
likes
0
pub points
66%
popularity

Publisher

verified publishermono0926.com

Firestore reference/document typed acccess helpers. You can write organized safe code by this.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cloud_firestore, firebase, flutter, meta, simple_logger

More

Packages that depend on firestore_ref