-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
a: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagesc: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levelengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specifically
Milestone
Description
I have used extractPath method from PathMetric to extract sub-paths and to draw a line, but on the web, it throws an unimplemented error.
Code Snippet:
for (final PathMetric measurePath in source.computeMetrics()) {
double distance = intialValue;
bool draw = true;
while (distance < measurePath.length) {
final double length = dashArray.next;
if (draw) {
path.addPath(measurePath.extractPath(distance, distance + length),
Offset.zero);
}
distance += length;
draw = !draw;
}
}
Use the sample below to replicate the issue.
Steps to reproduce:
- Run the sample in an android device, a line with red-colored will be drawn as below.
- Run the sample on the web, the line will not be drawn and on the debugger window, in the chrome browser, it throws an unimplemented error.
creativecreatorormaybenot, crizant and agordeev
Metadata
Metadata
Assignees
Labels
a: imagesLoading, displaying, rendering imagesLoading, displaying, rendering imagesc: renderingUI glitches reported at the engine/skia or impeller rendering levelUI glitches reported at the engine/skia or impeller rendering levelengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specifically
