Skip to content

Commit

Permalink
fix(ReadMe): Duplicate horizontalGridSpacing (#17)
Browse files Browse the repository at this point in the history
* fix(ReadMe): Duplicate horizontalGridSpacing

* chore(syntax): Fix missing a required trailing comma
  • Loading branch information
coffeduong authored Aug 25, 2023
1 parent ea913b7 commit 30dc83b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ A Responsive Grid List which offers a `builder` in which every List / Column can
```dart
ResponsiveGridListBuilder(
horizontalGridSpacing: 16, // Horizontal space between grid items
horizontalGridSpacing: 16, // Vertical space between grid items
verticalGridSpacing: 16, // Vertical space between grid items
horizontalGridMargin: 50, // Horizontal space around the grid
verticalGridMargin: 50, // Vertical space around the grid
minItemWidth: 300, // The minimum item width (can be smaller, if the layout constraints are smaller)
Expand Down
2 changes: 1 addition & 1 deletion lib/src/abstract_responsive_grid_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ abstract class AbstractResponsiveGridList extends StatelessWidget {
return [
SizedBox(height: verticalGridMargin),
...responsiveGridListItems,
SizedBox(height: verticalGridMargin)
SizedBox(height: verticalGridMargin),
];
}

Expand Down
2 changes: 1 addition & 1 deletion lib/src/responsive_grid_row.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ResponsiveGridRow extends StatelessWidget {
spacedRowItems = [
SizedBox(width: horizontalGridMargin),
...spacedRowItems,
SizedBox(width: horizontalGridMargin)
SizedBox(width: horizontalGridMargin),
];
}

Expand Down

0 comments on commit 30dc83b

Please sign in to comment.