parent property

  1. @override
ContainerLayer? parent

This layer's parent in the layer tree.

The parent of the root node in the layer tree is null.

Only subclasses of ContainerLayer can have children in the layer tree. All other layer classes are used for leaves in the layer tree.


ContainerLayer? get parent => super.parent as ContainerLayer?;