Index: sky/engine/core/painting/Point.dart |
diff --git a/sky/engine/core/painting/Point.dart b/sky/engine/core/painting/Point.dart |
index 82d2875e3b82c72a145429c439229f2d92c3839d..62cd87d7b805ba769b4a96b7922e41e06796813c 100644 |
--- a/sky/engine/core/painting/Point.dart |
+++ b/sky/engine/core/painting/Point.dart |
@@ -6,10 +6,10 @@ part of dart.sky; |
/// Holds 2 floating-point coordinates. |
class Point { |
- double x; |
- double y; |
+ final double x; |
+ final double y; |
- Point(this.x, this.y); |
+ const Point(this.x, this.y); |
bool operator ==(other) { |
if (!(other is Point)) return false; |