StateSwipingButton constructor
StateSwipingButton({
- Key? key,
- required String text,
- required double height,
- required VoidCallback onSwipeCallback,
- EdgeInsets padding = const EdgeInsets.fromLTRB(0, 0, 0, 0),
- Color swipeButtonColor = Colors.amber,
- Color backgroundColor = Colors.black,
- Color iconColor = Colors.white,
- TextStyle? buttonTextStyle,
Implementation
StateSwipingButton({
Key? key,
required this.text,
required this.height,
required this.onSwipeCallback,
this.padding = const EdgeInsets.fromLTRB(0, 0, 0, 0),
this.swipeButtonColor = Colors.amber,
this.backgroundColor = Colors.black,
this.iconColor = Colors.white,
this.buttonTextStyle,
});