spriteBatch property
SpriteBatch?
get
spriteBatch
The SpriteBatch that this component renders.
Implementation
SpriteBatch? get spriteBatch => _spriteBatch;
set
spriteBatch
(SpriteBatch? value)
Implementation
set spriteBatch(SpriteBatch? value) {
_spriteBatch = value;
updateRetainedImages();
}