PrettySkewButton constructor

const PrettySkewButton({
  1. Key? key,
  2. SkewPositions skewPosition = SkewPositions.left,
  3. double horizontalPadding = s14,
  4. double verticalPadding = s24,
  5. TextStyle? labelStyle,
  6. required String label,
  7. Color firstBgColor = kBlack,
  8. Color secondBgColor = kWhite,
  9. required VoidCallback onPressed,
})

Implementation

const PrettySkewButton({
  super.key,
  this.skewPosition = SkewPositions.left,
  this.horizontalPadding = s14,
  this.verticalPadding = s24,
  this.labelStyle,
  required this.label,
  this.firstBgColor = kBlack,
  this.secondBgColor = kWhite, required this.onPressed,
});