copyWith method

MorphOrigin copyWith({
  1. MorphOriginType? type,
  2. Rect? rect,
  3. double? borderRadius,
})

Implementation

MorphOrigin copyWith({
  MorphOriginType? type,
  Rect? rect,
  double? borderRadius,
}) {
  return MorphOrigin(
    type: type ?? this.type,
    rect: rect ?? this.rect,
    borderRadius: borderRadius ?? this.borderRadius,
  );
}