TileOverlay constructor
const
TileOverlay({
- required TileOverlayId tileOverlayId,
- bool fadeIn = true,
- TileProvider? tileProvider,
- double transparency = 0.0,
- int zIndex = 0,
- bool visible = true,
- int tileSize = 256,
Creates an immutable representation of a TileOverlay to draw on GoogleMap
.
Implementation
const TileOverlay({
required this.tileOverlayId,
this.fadeIn = true,
this.tileProvider,
this.transparency = 0.0,
this.zIndex = 0,
this.visible = true,
this.tileSize = 256,
}) : assert(transparency >= 0.0 && transparency <= 1.0);