SpriteRegion.whole constructor

const SpriteRegion.whole(
  1. String asset
)

Describes the whole of the image cached at asset, as one frame.

With no frame size stated, the region re-measures when the image changes shape.

Implementation

const SpriteRegion.whole(this.asset) //
  : _cell = null,
    row = 0,
    start = 0,
    end = 1;