considerViewport property

bool get considerViewport

The considerViewport flag is read-only and cannot be set except through CameraComponent.setBounds as an optional parameter.

If this value is true, a child component ViewportAwareBoundsBehavior exists whose purpose is to keep the viewfinder's visible area in bounds of the viewport w.r.t. the bounds shape.

If this value is false, then no child ViewportAwareBoundsBehavior will be present. False is the initial value.

Implementation

bool get considerViewport =>
    firstChild<ViewportAwareBoundsBehavior>() != null;