SwipeButton constructor

const SwipeButton({
  1. Key? key,
  2. Widget? thumb,
  3. Widget? content,
  4. BorderRadius borderRadius = BorderRadius.zero,
  5. SwipePosition initialPosition = SwipePosition.swipeLeft,
  6. required ValueChanged<SwipePosition>? onChanged,
  7. OnProgressChanged? onProgressChanged,
  8. double height = 56.0,
})

Implementation

const SwipeButton({
  Key? key,
  this.thumb,
  this.content,
  this.borderRadius = BorderRadius.zero,
  this.initialPosition = SwipePosition.swipeLeft,
  required this.onChanged,
  this.onProgressChanged,
  this.height = 56.0,
}) : super(key: key);