DismissUpdateDetails constructor Null safety

DismissUpdateDetails(
  1. {DismissDirection direction = DismissDirection.horizontal,
  2. bool reached = false,
  3. bool previousReached = false,
  4. double progress = 0.0}
)

Create a new instance of DismissUpdateDetails.

Implementation

DismissUpdateDetails({
  this.direction = DismissDirection.horizontal,
  this.reached = false,
  this.previousReached = false,
  this.progress = 0.0,
});