Skip to content

Commit

Permalink
refactor: fix dart formatting, and flutter analyze
Browse files Browse the repository at this point in the history
  • Loading branch information
thisissandipp committed Jul 5, 2024
1 parent 8dc76ac commit 755931c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
16 changes: 8 additions & 8 deletions lib/sudoku/widgets/sudoku_board.dart
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,16 @@ class SudokuBoard extends StatelessWidget {
),
),
for (var i = 0; i < boardDimension; i++)
Positioned(
top: (i % subGridDimension) * subGridSize,
left: (i ~/ subGridDimension) * subGridSize,
child: IgnorePointer(
child: SudokuBoardDivider(
dimension: subGridSize,
width: 0.8,
),
Positioned(
top: (i % subGridDimension) * subGridSize,
left: (i ~/ subGridDimension) * subGridSize,
child: IgnorePointer(
child: SudokuBoardDivider(
dimension: subGridSize,
width: 0.8,
),
),
),
],
);
},
Expand Down
2 changes: 0 additions & 2 deletions test/sudoku/view/sudoku_page_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ class _MockSudokuBloc extends MockBloc<SudokuEvent, SudokuState>

class _MockSudoku extends Mock implements Sudoku {}

class _FakeBlock extends Fake implements Block {}

void main() {
group('SudokuPage', () {
testWidgets('renders SudokuView', (tester) async {
Expand Down

0 comments on commit 755931c

Please sign in to comment.