sign_button 0.0.2 copy "sign_button: ^0.0.2" to clipboard
sign_button: ^0.0.2 copied to clipboard

outdated

A Flutter plugin for generating sign in buttons for different social media accounts.

Sign Button #

A Flutter plugin for generating sign in buttons for different social media accounts.

Getting Started #

You must add the library as a dependency to your project.

dependencies:
 sign_button: ^0.0.1

You should then run flutter packages get

Now in your Dart code, you can use:

import 'package:sign_button/sign_button.dart'

Usage Example #

It very simple!

SignButton(
  buttonType: ButtonType.google,
  onPressed: () {
  print('click');
  }).show()

ButtonSize

SignButton(
  buttonType: ButtonType.google,
  buttonSize: ButtonSize.large, // small, medium(default), large
  onPressed: () {
  print('click');
  }).show()

ImagePosition

SignButton(
  imagePosition: ImagePosition.left, // left or right
  buttonType: ButtonType.google,
  onPressed: () {
  print('click');
  }).show()

Other properties #

  • btnText
  • btnColor
  • btnTextColor
  • elevation
172
likes
0
pub points
93%
popularity

Publisher

verified publisheraemreesen.com

A Flutter plugin for generating sign in buttons for different social media accounts.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sign_button