InternalSpriteWidget constructor

const InternalSpriteWidget({
  1. required Sprite sprite,
  2. Anchor anchor = Anchor.topLeft,
  3. double angle = 0,
  4. Paint? paint,
  5. Key? key,
})

Implementation

const InternalSpriteWidget({
  required this.sprite,
  this.anchor = Anchor.topLeft,
  this.angle = 0,
  this.paint,
  super.key,
});