TileLayerComponent constructor
TileLayerComponent({})
Implementation
TileLayerComponent({
required this.id,
required List<Tile> tiles,
super.position,
bool visible = true,
this.name,
this.layerClass,
double opacity = 1,
this.properties,
super.priority,
}) : _tiles = tiles,
_isVisible = visible {
this.opacity = opacity;
_updateSizeAndPosition();
}