couple view and controller + offset working

This commit is contained in:
2025-07-02 01:21:45 +00:00
parent a7ea05c00d
commit 0e4125a583
5 changed files with 149 additions and 24 deletions
+4
View File
@@ -6,4 +6,8 @@ extension OffsetCartesionOps on Offset {
final dy = this.dy - other.dy;
return dx * dx + dy * dy;
}
Offset operator -(Offset other) {
return Offset(dx - other.dx, dy - other.dy);
}
}