weightSame static method

List<GridPadCellSize> weightSame(
  1. int count,
  2. double size
)

Create a list with length count of weight cell sizes with weight size size.

Implementation

static List<GridPadCellSize> weightSame(int count, double size) {
  return List.generate(count, (index) => Weight(size));
}