operator * method

ViewPaddingImpl operator *(
  1. double operand
)

Multiplication operator.

Returns a WindowPaddingImpl whose dimensions are the dimensions of the left-hand-side operand (a WindowPaddingImpl) multiplied by the scalar right-hand-side operand (a double).

Implementation

ViewPaddingImpl operator *(double operand) => ViewPaddingImpl(
      bottom: bottom * operand,
      top: top * operand,
      left: left * operand,
      right: right * operand,
    );