SpriteBatchComponent constructor
SpriteBatchComponent({
- SpriteBatch? spriteBatch,
- BlendMode? blendMode,
- Rect? cullRect,
- Paint? paint,
- ComponentKey? key,
Creates a component with an empty sprite batch which can be set later
Implementation
SpriteBatchComponent({
this.spriteBatch,
this.blendMode,
this.cullRect,
this.paint,
super.key,
});