operator * method

  1. @override
EdgeInsets operator * (double other)
override

Scales the EdgeInsets in each dimension by the given factor.

Implementation

@override
EdgeInsets operator *(double other) {
  return EdgeInsets.fromLTRB(
    left * other,
    top * other,
    right * other,
    bottom * other,
  );
}