applyPointerTranslucencyToLayers property

bool applyPointerTranslucencyToLayers
final

Whether to apply pointer translucency to all layers automatically

This will mean that each layer can handle all the gestures that enter the map themselves. Without this, only the top layer may handle gestures.

Note that layers that are visually obscured behind another layer will receive events, if this is enabled.

Technically, layers become invisible to the parent Stack when hit testing (and thus Stack will keep bubbling gestures down all layers), but will still allow their subtree to receive pointer events.

If this is false (defaults to true), then TranslucentPointer may be manually applied to individual layers.

Implementation

final bool applyPointerTranslucencyToLayers;