menu
tremble package
documentation
render/grid.dart
Grid<T>
to1d method
to1d method
dark_mode
light_mode
to1d
method
int
to1d
(
int
x
,
int
y
)
Implementation
@pragma('vm:prefer-inline') int to1d(int x, int y) => y * width + x;
tremble package
documentation
render/grid
Grid<T>
to1d method
Grid class