Tile constructor

Tile({
  1. required String coordsKey,
  2. required Coords<double> coords,
  3. required CustomPoint<num> tilePos,
  4. required ImageProvider<Object> imageProvider,
  5. TileReady? tileReady,
  6. required Level level,
  7. bool current = false,
  8. bool active = false,
  9. bool retain = false,
  10. bool loadError = false,
})

Implementation

Tile({
  required this.coordsKey,
  required this.coords,
  required this.tilePos,
  required this.imageProvider,
  this.tileReady,
  required this.level,
  this.current = false,
  this.active = false,
  this.retain = false,
  this.loadError = false,
});