fire_flutter_db 0.0.1 copy "fire_flutter_db: ^0.0.1" to clipboard
fire_flutter_db: ^0.0.1 copied to clipboard

FlutterFire simplifies Firebase integration in Flutter apps, offering streamlined authentication and Firestore database operations through a clean and intuitive API.

example/lib/main.dart

import 'package:fire_flutter_db/src/components/googleSigninButton.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

Future main() async {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setPreferredOrientations([
    DeviceOrientation.portraitUp,
    DeviceOrientation.portraitDown,
  ]);

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatefulWidget {
  const HomePage({super.key});

  @override
  State<HomePage> createState() => _HomePageState();
}

class _HomePageState extends State<HomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('FlutterFire Example'),
      ),
      body: SafeArea(
        child: Column(
          children: [
            GoogleSigninButton(
              extraFuntion: null,
            ),
          ],
        ),
      ),
    );
  }
}
6
likes
130
points
34
downloads

Publisher

verified publisherflutterverseapp.great-site.net

Weekly Downloads

FlutterFire simplifies Firebase integration in Flutter apps, offering streamlined authentication and Firestore database operations through a clean and intuitive API.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

cloud_firestore, firebase_auth, firebase_core, flutter, google_sign_in, loading_indicator

More

Packages that depend on fire_flutter_db