SpriteImage constructor
- String asset
Draws the whole of the image cached at asset.
Implementation
factory SpriteImage(String asset) => .of(SpriteRegion.whole(asset));
Draws the whole of the image cached at asset.
factory SpriteImage(String asset) => .of(SpriteRegion.whole(asset));