operator % method
📏 "Modulate" this
BoxShadow by offsetScale
.
Returns a new BoxShadow
whose offset
has been
Offset.scaled by offsetScale
's dx
and dy
respectively.
%(Offset offsetScale) => this.copyWith(offset: this.offset.scale(offsetScale.dx, offsetScale.dy));
Implementation
BoxShadow operator %(Offset offsetScale) =>
copyWith(offset: offset.scale(offsetScale.dx, offsetScale.dy));