applyToSize method

Size applyToSize(
  1. Size outer
)

Applies this margin to a Size, returning the inner size.

Implementation

Size applyToSize(Size outer) {
  return Size(
    outer.width - horizontal,
    outer.height - vertical,
  );
}