Index: pkg/custom_element/lib/custom_element.dart |
diff --git a/pkg/custom_element/lib/custom_element.dart b/pkg/custom_element/lib/custom_element.dart |
index 19824cf840c6c1172deda42ff1263dddb37cbbec..a91ff698d64768ea42f4d31ce471fc8e39e98409 100644 |
--- a/pkg/custom_element/lib/custom_element.dart |
+++ b/pkg/custom_element/lib/custom_element.dart |
@@ -481,7 +481,7 @@ class CustomElement implements Element { |
@deprecated |
int get clientWidth => client.width; |
- Rect get client => host.client; |
+ Rectangle get client => host.client; |
@deprecated |
int get offsetHeight => offset.height; |
@@ -495,7 +495,7 @@ class CustomElement implements Element { |
@deprecated |
int get offsetWidth => offset.width; |
- Rect get offset => host.offset; |
+ Rectangle get offset => host.offset; |
int get scrollHeight => host.scrollHeight; |
@@ -509,9 +509,9 @@ class CustomElement implements Element { |
int get scrollWidth => host.scrollWidth; |
- Rect getBoundingClientRect() => host.getBoundingClientRect(); |
+ Rectangle getBoundingClientRect() => host.getBoundingClientRect(); |
- List<Rect> getClientRects() => host.getClientRects(); |
+ List<Rectangle> getClientRects() => host.getClientRects(); |
List<Node> getElementsByClassName(String name) => |
host.getElementsByClassName(name); |