custom_signin_buttons 1.0.2 copy "custom_signin_buttons: ^1.0.2" to clipboard
custom_signin_buttons: ^1.0.2 copied to clipboard

A package designed to create sign in buttons in an easier and more customizable way.

Custom Sign-In Buttons :3 #

A package designed to create sign in buttons in an easier and more customizable way. #

Inspired in flutter_signin_buttons #

Installation #

Add to pubspec.yaml.

dependencies:
  ...
  custom_signin_buttons: ^1.0.0

Usage Example #

import custom_signin_buttons.dart

import 'package:custom_signin_buttons/custom_signin_buttons.dart';

For built-in buttons. #

SignInButton(
  Buttons.Google,
)

// with custom text
SignInButton(
  button: Button.Discord,
  text: 'Inicia con Discord',
),

For mini buttons. #

SignInButton(
  Buttons.Facebook,
  mini: true,
)

For small buttons. #

SignInButton(
  Buttons.Facebook,
  small: true,
)

For self-build buttons. #

CustomSignInButton(
  text: 'Sign In With Email',
  customIcon: Icons.email,
  buttonColor: Colors.blue,
  iconColor: Colors.grey,
  textColor: Colors.grey,
  mini: false,
)

CustomSignInButton(
  customIcon: FontAwesomeIcons.envelopeOpen,
  buttonColor: Colors.blue,
  iconColor: Colors.grey,
  mini: true,
),

onPressed(){} isn't required

Built-in Buttons contain #

enum Button {
  Apple,
  AppleDark,
  Discord,
  Email,
  Facebook,
  FacebookNew,
  GitHub,
  Google,
  GoogleBlue,
  GoogleBlack,
  GooglePlay,
  Instagram,
  InstagramGradient,
  LinkedIn,
  Pinterest,
  PlayStation,
  PlayStationGradient,
  Reddit,
  RedditGradient,
  Steam,
  SteamGradient,
  Spotify,
  SpotifyLight,
  TikTok,
  Twitch,
  TwitchLight,
  Twitter,
  Xbox,
  XboxDark,
  Youtube,
  YoutubeDark,
}
10
likes
140
pub points
81%
popularity

Publisher

unverified uploader

A package designed to create sign in buttons in an easier and more customizable way.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, font_awesome_flutter

More

Packages that depend on custom_signin_buttons