PrettySkewButton constructor
const
PrettySkewButton({
- Key? key,
- SkewPositions skewPosition = SkewPositions.left,
- double horizontalPadding = s14,
- double verticalPadding = s24,
- TextStyle? labelStyle,
- required String label,
- Color firstBgColor = kBlack,
- Color secondBgColor = kWhite,
- 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,
});