Inventory constructor
Inventory({
- PositionedRenderSettings? renderSettings = const PositionedRenderSettings(top: 10, left: 10, isInvisible: false),
- String? title = 'Inventory',
- String emptyMessage = "You don't have any item in your inventory.",
Creates a new Inventory instance.
Implementation
Inventory({
this.renderSettings = const PositionedRenderSettings(
top: 10,
left: 10,
isInvisible: false,
),
this.title = 'Inventory',
this.emptyMessage = "You don't have any item in your inventory.",
});