We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed688f commit 155ee3cCopy full SHA for 155ee3c
lib/web_ui/lib/src/engine/compositor/path.dart
@@ -15,9 +15,9 @@ class SkPath implements ui.Path {
15
fillType = ui.PathFillType.nonZero;
16
}
17
18
- // TODO(yjbanov): implement: https://github.com/flutter/flutter/issues/46812
19
SkPath.from(SkPath other) {
20
- throw UnimplementedError('SkPath.from is not implemented in the CanvasKit backend');
+ _skPath = js.JsObject(canvasKit['SkPath'], <js.JsObject>[other._skPath]);
+ fillType = other.fillType;
21
22
23
SkPath._fromSkPath(js.JsObject skPath) : _skPath = skPath;
0 commit comments