PrettyShadowButton constructor

const PrettyShadowButton({
  1. Key? key,
  2. required String label,
  3. Color bgColor = kWhite,
  4. Color foregroundColor = kBlack,
  5. Color? shadowColor,
  6. required VoidCallback onPressed,
  7. IconData? icon,
  8. Duration? duration,
  9. double? elevation,
  10. double? verticalPadding,
  11. double? horizontalPadding,
  12. TextStyle? labelStyle,
})

Implementation

const PrettyShadowButton({
  Key? key,
  required this.label,
  this.bgColor = kWhite,
  this.foregroundColor = kBlack,
  this.shadowColor,
  required this.onPressed,
  this.icon,
  this.duration,
  this.elevation,
  this.verticalPadding,
  this.horizontalPadding,
  this.labelStyle,
}) : super(key: key);