Vector2List constructor Null safety

Vector2List(
  1. int length,
  2. [int offset = 0,
  3. int stride = 0]
)

Create a new vector list with length elements. Optionally it is possible to specify an offset in the buffer and a stride between each vector.

Implementation

Vector2List(int length, [int offset = 0, int stride = 0])
    : super(length, 2, offset, stride);