Vector2List.fromList constructor Null safety

Vector2List.fromList(
  1. List<Vector2> list,
  2. [int offset = 0,
  3. int stride = 0]
)

Create a new vector list from a list of vectors. Optionally it is possible to specify an offset in the buffer and a stride between each vector.

Implementation

Vector2List.fromList(List<Vector2> list, [int offset = 0, int stride = 0])
    : super.fromList(list, 2, offset, stride);