VecRect constructor

VecRect([
  1. int length = 0,
  2. int x = 0,
  3. int y = 0,
  4. int width = 0,
  5. int height = 0,
])

Implementation

factory VecRect([int length = 0, int x = 0, int y = 0, int width = 0, int height = 0]) =>
    VecRect.generate(length, (i) => Rect(x, y, width, height));