Skip to content

Commit

Permalink
feat: update flutter_lints to 3.0.1
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil Kumar <xdsahil@gmail.com>
  • Loading branch information
xsahil03x committed Feb 13, 2024
1 parent e91020d commit 40b8f3e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions lib/src/widget/paging_list_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,12 @@ class PagingListView<Key, Value> extends BoxScrollView {
this.addRepaintBoundaries = true,
this.addSemanticIndexes = true,
super.cacheExtent,
int? semanticChildCount,
super.semanticChildCount,
super.dragStartBehavior,
super.keyboardDismissBehavior,
super.restorationId,
super.clipBehavior,
}) : separatorBuilder = null,
super(semanticChildCount: semanticChildCount);
}) : separatorBuilder = null;

const PagingListView.separated({
super.key,
Expand All @@ -65,12 +64,12 @@ class PagingListView<Key, Value> extends BoxScrollView {
this.addRepaintBoundaries = true,
this.addSemanticIndexes = true,
super.cacheExtent,
int? semanticChildCount,
super.semanticChildCount,
super.dragStartBehavior,
super.keyboardDismissBehavior,
super.restorationId,
super.clipBehavior,
}) : super(semanticChildCount: semanticChildCount);
});

/// The [PagedValueNotifier] used to control the list of items.
final SuperPager<Key, Value> pager;
Expand Down Expand Up @@ -110,7 +109,6 @@ class PagingListView<Key, Value> extends BoxScrollView {

@override
Widget buildChildLayout(BuildContext context) {
ListView.builder(itemBuilder: itemBuilder);
if (separatorBuilder != null) {
return PagingSliverList.separated(
pager: pager,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.3
flutter_lints: ^3.0.1
build_runner: ^2.4.6
freezed: ^2.4.5

Expand Down

0 comments on commit 40b8f3e

Please sign in to comment.