firestore_ref 0.8.0-dev+10 copy "firestore_ref: ^0.8.0-dev+10" to clipboard
firestore_ref: ^0.8.0-dev+10 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();
  Firestore.instance.settings(persistenceEnabled: true);
  runApp(
    MultiProvider(
      providers: [
        Provider(create: (context) => AppInfo()),
        ChangeNotifierProvider(
          create: (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, json_annotation, meta, simple_logger

More

Packages that depend on firestore_ref