update example

This commit is contained in:
2025-09-07 15:01:26 +00:00
parent f9bca6e61b
commit 942a09a3da
5 changed files with 108 additions and 45 deletions
+2
View File
@@ -80,6 +80,8 @@ class LazyCanvasController with ChangeNotifier {
Offset get _ssCenter => Offset(_canvasSize.width / 2, _canvasSize.height / 2);
Offset get _gsCenter => ssToGs(_ssCenter, _gsTopLeftOffset, _scale);
bool get _renderCacheDirty => _lastProcessedOffset != _gsTopLeftOffset || _lastProcessedScale != _scale || _markDirty;
Offset get buildExtent => _buildExtent;
Offset? get buildCacheExtent => _buildCacheExtent;
// ==================== Callback Functions ====================