RectangleConfig.fromSize constructor

RectangleConfig.fromSize(
  1. num width,
  2. num height, [
  3. String animationMode = AnimationMode.Continuous
])

Implementation

RectangleConfig.fromSize(this.width, this.height,
    [this.animationMode = AnimationMode.Continuous])
    : originX = -width / 2.0,
      originY = -height / 2.0;