TileLayers constructor

TileLayers({
  1. bool visible = true,
  2. List<TileRects>? tiles,
  3. required int length,
  4. String name = 'Layer',
})

Implementation

TileLayers({
  this.visible = true,
  List<TileRects>? tiles,
  required this.length,
  this.name = 'Layer'
}){
  this.tiles = tiles ?? List<TileRects>.filled(length, TileRects(),growable: true);
}