fa_button 0.0.3 copy "fa_button: ^0.0.3" to clipboard
fa_button: ^0.0.3 copied to clipboard

A new Flutter plugging for firebase auth (anonyme, connexion, inscription, google, facebook).

example/lib/main.dart

import 'package:fa_button/fa_button.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  final _flutterAuthPlugin = FAButton(
    type: "inscription", //anonyme, connexion, inscription, google, facebook
    onPressed: () {
      if (kDebugMode) {
        print("google");
      }
    },
  );

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: _flutterAuthPlugin,
        ),
      ),
    );
  }
}
1
likes
90
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter plugging for firebase auth (anonyme, connexion, inscription, google, facebook).

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins, font_awesome_flutter, plugin_platform_interface

More

Packages that depend on fa_button