enhanced_cloud_firestore 2.0.0 copy "enhanced_cloud_firestore: ^2.0.0" to clipboard
enhanced_cloud_firestore: ^2.0.0 copied to clipboard

A wrapper around the cloud firestore dart package with support for filtering sorting, limiting, error handling, and success scenarios

example/lib/main.dart

import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:flutter_dotenv/flutter_dotenv.dart';
import 'helpers/firebase_options.dart';
import 'screens/home.dart';

void main() async {
  await dotenv.load(fileName: ".env");
  await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Enhanced Cloud Firestore Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const Home(),
    );
  }
}
2
likes
135
pub points
0%
popularity

Publisher

verified publishersliitfoss.org

A wrapper around the cloud firestore dart package with support for filtering sorting, limiting, error handling, and success scenarios

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cloud_firestore, flutter

More

Packages that depend on enhanced_cloud_firestore