scale method
Returns a new EdgeInsets with the dimensions scaled by the given factor.
Implementation
EdgeInsets scale(double factor) {
return EdgeInsets.fromLTRB(
left * factor,
top * factor,
right * factor,
bottom * factor,
);
}
Returns a new EdgeInsets with the dimensions scaled by the given factor.
EdgeInsets scale(double factor) {
return EdgeInsets.fromLTRB(
left * factor,
top * factor,
right * factor,
bottom * factor,
);
}