right method

double right(
  1. num width
)

Implementation

double right(num width) => rightPct != null ? rightPct! * width : rightPx!;