SwipeButton constructor
const
SwipeButton({
- Key? key,
- Widget? thumb,
- Widget? content,
- BorderRadius borderRadius = BorderRadius.zero,
- SwipePosition initialPosition = SwipePosition.swipeLeft,
- required ValueChanged<
SwipePosition> ? onChanged, - OnProgressChanged? onProgressChanged,
- 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);