InventoryButton constructor
const
InventoryButton({
- Key? key,
- required EscapeGame escapeGame,
- Icon? inventoryIcon = const Icon(Icons.work),
- ButtonStyle? buttonStyle,
- VoidCallback? onPressed,
- 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 = ' 💡',
});