Skip to content

Commit ca51c1a

Browse files
committed
Update versions
1 parent 7c8b697 commit ca51c1a

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

example/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies:
1010
sdk: flutter
1111

1212
dev_dependencies:
13-
custom_lint: ^0.6.7
13+
custom_lint: ^0.7.1
1414
solid_lints:
1515
path: ../
16-
test: ^1.20.1
16+
test: ^1.25.14

lib/src/utils/types_utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ bool _isSubclassOfWidget(DartType? type) =>
147147
type is InterfaceType && type.allSupertypes.any(_isWidget);
148148

149149
// ignore: deprecated_member_use
150-
bool _isWidgetState(DartType? type) => type?.element2?.displayName == 'State';
150+
bool _isWidgetState(DartType? type) => type?.element?.displayName == 'State';
151151

152152
bool _isSubclassOfWidgetState(DartType? type) =>
153153
type is InterfaceType && type.allSupertypes.any(_isWidgetState);

pubspec.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@ environment:
1111
sdk: ">=3.0.0 <4.0.0"
1212

1313
dependencies:
14-
analyzer: ^6.7.0
15-
collection: ^1.17.2
16-
custom_lint_builder: ^0.6.7
17-
glob: ^2.1.2
18-
path: ^1.8.3
19-
yaml: ^3.1.2
14+
analyzer: ^7.1.0
15+
collection: ^1.19.0
16+
custom_lint_builder: ^0.7.1
17+
glob: ^2.1.3
18+
path: ^1.9.1
19+
yaml: ^3.1.3
2020

2121
dev_dependencies:
22-
args: ^2.4.2
22+
args: ^2.6.0
2323
# These packages are mandatory for some of tests
2424
flutter:
2525
sdk: flutter
26-
test: ^1.24.6
26+
test: ^1.25.14

0 commit comments

Comments
 (0)