right method

double right(
  1. Offset delta
)

Implementation

double right(Offset delta) => switch (this) {
  topRight || bottomRight => delta.dx,
  _ => 0,
};