Signature for reporting the interior and exterior dimensions of a viewport.
- The
contentExtentis the interior dimension of the viewport (i.e., the size of the thing that's being viewed through the viewport). - The
containerExtentis the exterior dimension of the viewport (i.e., the amount of the thing inside the viewport that is visible from outside the viewport).
Used by ScrollableGrid.onExtentsChanged,
ScrollableList.onExtentsChanged, etc.
Source
typedef void ExtentsChangedCallback(double contentExtent, double containerExtent);