copyWith method

Peek copyWith({
  1. double? peek,
  2. double? ratio,
  3. AlignmentGeometry? alignment,
})

📋 Returns a copy of this Peek with the given properties.

Implementation

Peek copyWith({
  double? peek,
  double? ratio,
  AlignmentGeometry? alignment,
}) =>
    Peek(
      peek: peek ?? this.peek,
      ratio: ratio ?? this.ratio,
      alignment: alignment ?? this.alignment,
    );