StateSwipingButton constructor

StateSwipingButton({
  1. Key? key,
  2. required String text,
  3. required double height,
  4. required VoidCallback onSwipeCallback,
  5. EdgeInsets padding = const EdgeInsets.fromLTRB(0, 0, 0, 0),
  6. Color swipeButtonColor = Colors.amber,
  7. Color backgroundColor = Colors.black,
  8. Color iconColor = Colors.white,
  9. 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,
});