hasHost property
bool
get
hasHost
Whether a LayerRasterizerHost is mounted for this rasterizer.
capture throws without one, because there would be no widget tree to mount the layers into.
Implementation
bool get hasHost => _hostCount > 0;