Commit 8fdd8cb5 authored by Mehmet Akin's avatar Mehmet Akin

Fix indent.

parent 5287d13b
...@@ -66,10 +66,10 @@ class MineDiggerState extends State<MineDigger> { ...@@ -66,10 +66,10 @@ class MineDiggerState extends State<MineDigger> {
detectedCount = 0; detectedCount = 0;
// Initialize matrices. // Initialize matrices.
cells = new List<List>.generate(rows, (int row) { cells = new List<List>.generate(rows, (int row) {
return new List<bool>.filled(cols, false); return new List<bool>.filled(cols, false);
}); });
uiState = new List<List>.generate(rows, (int row) { uiState = new List<List>.generate(rows, (int row) {
return new List<CellState>.filled(cols, CellState.covered); return new List<CellState>.filled(cols, CellState.covered);
}); });
// Place the mines. // Place the mines.
Random random = new Random(); Random random = new Random();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment