Skip to content

Commit

Permalink
feat: Update dependencies, apply updated linting rules (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
hauketoenjes authored Apr 15, 2023
1 parent 9ecb882 commit ea913b7
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 32 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.3.2] - 15.04.2023

- Update dependencies
- Apply updated linting rules

## [1.3.1] - 30.01.2023

- Added screenshots to pubspec.yaml
Expand Down
1 change: 1 addition & 0 deletions lib/responsive_grid_list.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// Library for creating responsive grid lists.
library responsive_grid_list;

export 'src/abstract_responsive_grid_list.dart';
Expand Down
6 changes: 3 additions & 3 deletions lib/src/abstract_responsive_grid_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ abstract class AbstractResponsiveGridList extends StatelessWidget {
const AbstractResponsiveGridList({
required this.minItemWidth,
required this.minItemsPerRow,
this.maxItemsPerRow,
required this.horizontalGridSpacing,
required this.verticalGridSpacing,
this.horizontalGridMargin,
this.verticalGridMargin,
required this.rowMainAxisAlignment,
required this.children,
this.maxItemsPerRow,
this.horizontalGridMargin,
this.verticalGridMargin,
super.key,
}) : assert(
// coverage:ignore-start
Expand Down
4 changes: 2 additions & 2 deletions lib/src/responsive_grid_list/responsive_grid_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ import 'package:responsive_grid_list/src/responsive_grid_list/list_view_builder_
class ResponsiveGridList extends AbstractResponsiveGridList {
/// Constructor of [ResponsiveGridList].
const ResponsiveGridList({
super.key,
required super.minItemWidth,
required super.children,
super.key,
super.minItemsPerRow = 1,
super.maxItemsPerRow,
super.horizontalGridSpacing = 16,
super.verticalGridSpacing = 16,
super.horizontalGridMargin,
super.verticalGridMargin,
super.rowMainAxisAlignment = MainAxisAlignment.start,
required super.children,
@Deprecated('Use listViewBuilderOptions instead') this.shrinkWrap = false,
this.listViewBuilderOptions,
// coverage:ignore-start
Expand Down
6 changes: 3 additions & 3 deletions lib/src/responsive_grid_list_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ import 'package:responsive_grid_list/src/abstract_responsive_grid_list.dart';
class ResponsiveGridListBuilder extends AbstractResponsiveGridList {
/// Constructor of [ResponsiveGridListBuilder].
const ResponsiveGridListBuilder({
super.key,
required super.minItemWidth,
required List<Widget> gridItems,
required this.builder,
super.key,
super.minItemsPerRow = 1,
super.maxItemsPerRow,
super.horizontalGridSpacing = 16,
super.verticalGridSpacing = 16,
super.horizontalGridMargin,
super.verticalGridMargin,
super.rowMainAxisAlignment = MainAxisAlignment.start,
required List<Widget> gridItems,
required this.builder,
}) : super(
children: gridItems,
);
Expand Down
4 changes: 2 additions & 2 deletions lib/src/responsive_grid_row.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import 'package:responsive_grid_list/src/extensions/list_extensions.dart';
class ResponsiveGridRow extends StatelessWidget {
/// Constructs a new [ResponsiveGridRow].
const ResponsiveGridRow({
super.key,
required this.rowItems,
required this.spacing,
this.horizontalGridMargin,
required this.itemWidth,
super.key,
this.horizontalGridMargin,
this.rowMainAxisAlignment = MainAxisAlignment.start,
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ import 'package:responsive_grid_list/src/responsive_sliver_grid_list/sliver_chil
class ResponsiveSliverGridList extends AbstractResponsiveGridList {
/// Constructor of [ResponsiveSliverGridList].
const ResponsiveSliverGridList({
super.key,
required super.minItemWidth,
required super.children,
super.key,
super.minItemsPerRow = 1,
super.maxItemsPerRow,
super.horizontalGridSpacing = 16,
super.verticalGridSpacing = 16,
super.horizontalGridMargin,
super.verticalGridMargin,
super.rowMainAxisAlignment = MainAxisAlignment.start,
required super.children,
this.sliverChildBuilderDelegateOptions,
// coverage:ignore-start
}); // coverage:ignore-end
Expand Down
34 changes: 17 additions & 17 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "0c80aeab9bc807ab10022cd3b2f4cf2ecdf231949dc1ddd9442406a003f19201"
sha256: a36ec4843dc30ea6bf652bf25e3448db6c5e8bcf4aa55f063a5d1dad216d8214
url: "https://pub.dev"
source: hosted
version: "52.0.0"
version: "58.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: cd8ee83568a77f3ae6b913a36093a1c9b1264e7cb7f834d9ddd2311dade9c1f4
sha256: cc4242565347e98424ce9945c819c192ec0838cb9d1f6aa4a97cc96becbc5b27
url: "https://pub.dev"
source: hosted
version: "5.4.0"
version: "5.10.0"
args:
dependency: transitive
description:
name: args
sha256: "139d809800a412ebb26a3892da228b2d0ba36f0ef5d9a82166e5e52ec8d61611"
sha256: "4cab82a83ffef80b262ddedf47a0a8e56ee6fbf7fe21e6e768b02792034dd440"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.4.0"
async:
dependency: transitive
description:
Expand Down Expand Up @@ -77,10 +77,10 @@ packages:
dependency: transitive
description:
name: coverage
sha256: "961c4aebd27917269b1896382c7cb1b1ba81629ba669ba09c27a7e5710ec9040"
sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097"
url: "https://pub.dev"
source: hosted
version: "1.6.2"
version: "1.6.3"
crypto:
dependency: transitive
description:
Expand Down Expand Up @@ -207,10 +207,10 @@ packages:
dependency: transitive
description:
name: node_preamble
sha256: "8ebdbaa3b96d5285d068f80772390d27c21e1fa10fb2df6627b1b9415043608d"
sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "2.0.2"
package_config:
dependency: transitive
description:
Expand Down Expand Up @@ -300,10 +300,10 @@ packages:
dependency: transitive
description:
name: source_maps
sha256: "490098075234dcedb83c5d949b4c93dad5e6b7702748de000be2b57b8e6b2427"
sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703"
url: "https://pub.dev"
source: hosted
version: "0.10.11"
version: "0.10.12"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -388,10 +388,10 @@ packages:
dependency: "direct dev"
description:
name: very_good_analysis
sha256: "4815adc7ded57657038d2bb2a7f332c50e3c8152f7d3c6acf8f6b7c0cc81e5e2"
sha256: ebc48c51db35beeeec8c414e32f7bd78e612bd7f5992ccb0d46e19edaeb40b08
url: "https://pub.dev"
source: hosted
version: "3.1.0"
version: "4.0.0+1"
vm_service:
dependency: transitive
description:
Expand All @@ -412,10 +412,10 @@ packages:
dependency: transitive
description:
name: web_socket_channel
sha256: ca49c0bc209c687b887f30527fb6a9d80040b072cc2990f34b9bec3e7663101b
sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "2.4.0"
webkit_inspection_protocol:
dependency: transitive
description:
Expand All @@ -433,5 +433,5 @@ packages:
source: hosted
version: "3.1.1"
sdks:
dart: ">=2.18.0 <4.0.0"
dart: ">=2.19.0 <3.0.0"
flutter: ">=1.17.0"
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: responsive_grid_list
description: A Flutter plugin to create responsive grid lists using ListView.builder() or SliverList with a SliverChildBuilderDelegate.
version: 1.3.1
version: 1.3.2
homepage: https://htoenjes.de
repository: https://github.com/hauketoenjes/responsive_grid_list
issue_tracker: https://github.com/hauketoenjes/responsive_grid_list/issues
Expand All @@ -23,6 +23,6 @@ dev_dependencies:
flutter_test:
sdk: flutter
test: ^1.21.1
very_good_analysis: ^3.0.1
very_good_analysis: ^4.0.0+1

flutter:
2 changes: 1 addition & 1 deletion test/abstract_responsive_grid_list_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void main() {

class AbstractResponsiveGridListTest extends AbstractResponsiveGridList {
const AbstractResponsiveGridListTest({
super.key,
required super.minItemWidth,
required super.minItemsPerRow,
required super.horizontalGridSpacing,
Expand All @@ -46,6 +45,7 @@ class AbstractResponsiveGridListTest extends AbstractResponsiveGridList {
required super.verticalGridMargin,
required super.rowMainAxisAlignment,
required super.children,
super.key,
});

@override
Expand Down

0 comments on commit ea913b7

Please sign in to comment.