absoluteBounds property
Rect
get
absoluteBounds
Holds the absoluteBounds of the zoomable widget.
Implementation
Rect get absoluteBounds => _absoluteBounds;
set
absoluteBounds
(Rect value)
Implementation
set absoluteBounds(Rect value) {
if (_absoluteBounds == value) {
return;
}
// Handles interaction.
// if (action != ActionType.none) {
_absoluteBounds = value;
// _matrix = Matrix4.identity()
// ..scale(pow(2, _zoomLevel - 1).toDouble())
// ..setTranslation(
// Vector3(_absoluteBounds.left, _absoluteBounds.top, 0.0));
notifyListeners();
// return;
// }
// Handles programmatic updates.
// _onAbsoluteBoundsChange?.call(value);
}