white_auth 0.0.5 copy "white_auth: ^0.0.5" to clipboard
white_auth: ^0.0.5 copied to clipboard

unlisted[pending analysis]

A commom auth flow for mhlophe tech applications

example/lib/main.dart

import 'package:firebase_core/firebase_core.dart';
import 'package:flutter/material.dart';
import 'package:white_auth/auth/auth_home.dart';
import 'package:white_auth/auth/auth_routes.dart';
import 'package:white_auth/auth/contact.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();

  Firebase.initializeApp();

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'White Auth example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      routes: {
        ...whiteAuthRoutes,
        "/contact": (context) => const ContactUs(
              email: "",
              website: "https://unitut.ml",
              twitter: "",
              facebook: "https://facebook.com/UnivTut",
            ),
      },
      home: const AuthHome(
        appName: "White Auth",
      ),
    );
  }
}
0
likes
60
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A commom auth flow for mhlophe tech applications

Homepage

License

(pending) (license)

Dependencies

firebase_analytics, firebase_auth, firebase_performance, flutter, flutter_facebook_auth, google_sign_in, provider, url_launcher

More

Packages that depend on white_auth