translateCenter method

Offset translateCenter(
  1. (double, double) widths,
  2. (double, double) heights
)

Implementation

Offset translateCenter((double, double) widths, (double, double) heights) =>
    Offset(dx + widths.center(), dy + heights.center());