Fix type error in SkVertices (flutter/engine#13157)

This commit is contained in:
Harry Terkelsen
2019-10-16 10:39:08 -07:00
committed by GitHub
parent 90ababb877
commit f18921214c

View File

@@ -40,7 +40,7 @@ class SkVertices implements ui.Vertices {
List<int> indices,
}) : assert(mode != null),
assert(positions != null),
_colors = Int32List.fromList(colors.map((ui.Color c) => c.value)),
_colors = Int32List.fromList(colors.map((ui.Color c) => c.value).toList()),
_positions = _offsetListToInt32List(positions),
_mode = mode {
if (textureCoordinates != null &&