NikuDismissible constructor

NikuDismissible(
  1. Key key, {
  2. Widget? child,
  3. Widget? background,
  4. Widget? secondaryBackground,
  5. Future<bool?> confirmDismiss(
    1. DismissDirection
    )?,
  6. void onResize()?,
  7. void onUpdate(
    1. DismissUpdateDetails
    )?,
  8. void onDismissed(
    1. DismissDirection
    )?,
  9. DismissDirection? direction,
  10. Duration? resizeDuration,
  11. Map<DismissDirection, double>? dismissThresholds,
  12. Duration? movementDuration,
  13. double? crossAxisEndOffset,
  14. DragStartBehavior? dragStartBehavior,
  15. HitTestBehavior? behavior,
})

Implementation

NikuDismissible(
  this.key, {
  this.child,
  this.background,
  this.secondaryBackground,
  this.confirmDismiss,
  this.onResize,
  this.onUpdate,
  this.onDismissed,
  this.direction,
  this.resizeDuration,
  this.dismissThresholds,
  this.movementDuration,
  this.crossAxisEndOffset,
  this.dragStartBehavior,
  this.behavior,
}) : super(key: key);