LinkedInButtonStandardWidget constructor
const
LinkedInButtonStandardWidget({
- required Function onTap,
- double iconHeight = 30,
- double iconWeight = 30,
- String iconAssetPath = 'assets/linked_in_logo.png',
- String buttonText = 'Sign in with LinkedIn',
- Color buttonColor = Colors.white,
- Color backgroundColor = Colors.blue,
- EdgeInsets textPadding = const EdgeInsets.all(4),
- Key? key,
Create button with some default values, which you can of course change whenever you want
Implementation
const LinkedInButtonStandardWidget({
required this.onTap,
this.iconHeight = 30,
this.iconWeight = 30,
this.iconAssetPath = 'assets/linked_in_logo.png',
this.buttonText = 'Sign in with LinkedIn',
this.buttonColor = Colors.white,
this.backgroundColor = Colors.blue,
this.textPadding = const EdgeInsets.all(4),
super.key,
});