sprite property
      
      Sprite?
      get
      sprite
      
    
    
Returns the current sprite rendered by this component.
Implementation
Sprite? get sprite => _sprite;
      
      set
      sprite
      (Sprite? value) 
      
    
    
Sets the given sprite as the new sprite of this component. Will update the size if autoResize is set to true.
Implementation
set sprite(Sprite? value) {
  _sprite = value;
  _resizeToSprite();
}