InventoryButton constructor

const InventoryButton({
  1. Key? key,
  2. required EscapeGame escapeGame,
  3. Icon? inventoryIcon = const Icon(Icons.work),
  4. ButtonStyle? buttonStyle,
  5. VoidCallback? onPressed,
  6. String? changedText = ' 💡',
})

Creates a new InventoryButton instance.

Implementation

const InventoryButton({
  super.key,
  required this.escapeGame,
  this.inventoryIcon = const Icon(Icons.work),
  this.buttonStyle,
  this.onPressed,
  this.changedText = ' 💡',
});