transformedContentBounds

Deprecated

Superseded by coordinateSystem.contentBounds.

Replace with

coordinateSystem.contentBounds(clipToViewport = false)

The visual bounds of the content with user zoom and pan. This is calculated by applying contentScale and contentAlignment to the value passed to ZoomableState.setContentLocation. This property is intended for drawing decorations around the content or for performing hit tests.

This value will be Rect.Zero if the content hasn't been measured yet, and it will never exceed the viewport bounds.