SpriteBatchComponent constructor
SpriteBatchComponent({
- SpriteBatch? spriteBatch,
- BlendMode? blendMode,
- Rect? cullRect,
- Paint? paint,
- ComponentKey? key,
- Iterable<
Component> ? children, - int? priority,
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,
super.children,
super.priority,
});