LinkedInButtonStandardWidget constructor

const LinkedInButtonStandardWidget({
  1. required Function onTap,
  2. double iconHeight = 30,
  3. double iconWeight = 30,
  4. String iconAssetPath = 'assets/linked_in_logo.png',
  5. String buttonText = 'Sign in with LinkedIn',
  6. Color buttonColor = Colors.white,
  7. Color backgroundColor = Colors.blue,
  8. EdgeInsets textPadding = const EdgeInsets.all(4),
  9. 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,
});