copyWith method

Peek copyWith({
  1. double? peek,
  2. double? peekRatio,
  3. AlignmentGeometry? peekAlignment,
})

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

Implementation

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