array2d 1.0.1 copy "array2d: ^1.0.1" to clipboard
array2d: ^1.0.1 copied to clipboard

Array2d

A 2D array implementation tailored for game development.

Features #

  • [List key features, e.g., Efficient element access, Support for specific data types (int, float, etc.), Bounds checking for safety, Customizable size]

Usage #

void main(){
final array2d = Array2D<String>(10,10,valueBuilder: (x,y)=> "x:$x, y:$y");
print(array2d[0][0]);
print(array2d[9][9]);
array2d[9][9] = "new value";
print(array2d[9][9]);
}

1
likes
130
points
55
downloads

Publisher

unverified uploader

Weekly Downloads

Array2d

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on array2d