Inventory constructor

Inventory({
  1. PositionedRenderSettings? renderSettings = const PositionedRenderSettings(top: 10, left: 10, isInvisible: false),
  2. String? title = 'Inventory',
  3. 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.",
});