File tree Expand file tree Collapse file tree 4 files changed +11
-12
lines changed Expand file tree Collapse file tree 4 files changed +11
-12
lines changed Original file line number Diff line number Diff line change 1
- include : package:lint/analysis_options_package .yaml
1
+ include : package:flutter_lints/flutter .yaml
2
2
3
3
analyzer :
4
4
strong-mode :
Original file line number Diff line number Diff line change @@ -625,6 +625,6 @@ class ChewieControllerProvider extends InheritedWidget {
625
625
final ChewieController controller;
626
626
627
627
@override
628
- bool updateShouldNotify (ChewieControllerProvider old ) =>
629
- controller != old .controller;
628
+ bool updateShouldNotify (ChewieControllerProvider oldWidget ) =>
629
+ controller != oldWidget .controller;
630
630
}
Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ class Subtitle {
50
50
}
51
51
52
52
@override
53
- bool operator == (Object o ) {
54
- if (identical (this , o )) return true ;
53
+ bool operator == (Object other ) {
54
+ if (identical (this , other )) return true ;
55
55
56
- return o is Subtitle &&
57
- o .index == index &&
58
- o .start == start &&
59
- o .end == end &&
60
- o .text == text;
56
+ return other is Subtitle &&
57
+ other .index == index &&
58
+ other .start == start &&
59
+ other .end == end &&
60
+ other .text == text;
61
61
}
62
62
63
63
@override
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ dependencies:
18
18
dev_dependencies :
19
19
flutter_test :
20
20
sdk : flutter
21
- lint : ^1.8.2
22
- very_good_analysis : ^3.0.0
21
+ flutter_lints : ^2.0.1
23
22
24
23
flutter :
25
24
uses-material-design : true
You can’t perform that action at this time.
0 commit comments