onDismissible method

Dismissible onDismissible({
  1. Widget? child,
  2. Widget? background,
  3. Widget? secondaryBackground,
  4. VoidCallback? resize,
  5. DismissDirectionCallback? dismissed,
  6. DismissDirection? direction,
  7. Duration? resizeDuration,
  8. Map<DismissDirection, double>? dismissThresholds,
  9. Duration? movementDuration,
  10. double? crossAxisEndOffset,
})

Implementation

Dismissible onDismissible({
  Widget? child,
  Widget? background,
  Widget? secondaryBackground,
  VoidCallback? resize,
  DismissDirectionCallback? dismissed,
  DismissDirection? direction,
  Duration? resizeDuration,
  Map<DismissDirection, double>? dismissThresholds,
  Duration? movementDuration,
  double? crossAxisEndOffset,
}) {
  this.child = child ?? this.child;
  this.background = background ?? this.background;
  this.secondaryBackground = secondaryBackground ?? this.secondaryBackground;
  this.resize = resize ?? this.resize;
  this.dismissed = dismissed ?? this.dismissed;
  this.direction = direction ?? this.direction;
  this.resizeDuration = resizeDuration ?? this.resizeDuration;
  this.dismissThresholds = dismissThresholds ?? this.dismissThresholds;
  this.movementDuration = movementDuration ?? this.movementDuration;
  this.crossAxisEndOffset = crossAxisEndOffset ?? this.crossAxisEndOffset;
  return dismissible;
}