InternalSpriteButton constructor

const InternalSpriteButton({
  1. required VoidCallback onPressed,
  2. required Widget label,
  3. required Sprite sprite,
  4. required Sprite pressedSprite,
  5. double width = 200,
  6. double height = 50,
  7. Key? key,
})

Implementation

const InternalSpriteButton({
  required this.onPressed,
  required this.label,
  required this.sprite,
  required this.pressedSprite,
  this.width = 200,
  this.height = 50,
  super.key,
});