AntdSwipeAction constructor

const AntdSwipeAction({
  1. Key? key,
  2. AntdSwipeActionStyle? style,
  3. AntdStyleBuilder<AntdSwipeActionStyle, AntdSwipeAction>? styleBuilder,
  4. List<AntdSwipeItem>? items,
  5. required Widget child,
  6. double? openThreshold = 0.01,
  7. Duration duration = const Duration(milliseconds: 200),
  8. bool? closeOnAction = true,
  9. AntdSwipeActionOnChange? onChange,
  10. AntdSwipeActionController? controller,
})

Implementation

const AntdSwipeAction(
    {super.key,
    super.style,
    super.styleBuilder,
    this.items,
    required this.child,
    this.openThreshold = 0.01,
    this.duration = const Duration(milliseconds: 200),
    this.closeOnAction = true,
    this.onChange,
    this.controller});