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
22
33analyzer :
44 strong-mode :
Original file line number Diff line number Diff line change @@ -625,6 +625,6 @@ class ChewieControllerProvider extends InheritedWidget {
625625 final ChewieController controller;
626626
627627 @override
628- bool updateShouldNotify (ChewieControllerProvider old ) =>
629- controller != old .controller;
628+ bool updateShouldNotify (ChewieControllerProvider oldWidget ) =>
629+ controller != oldWidget .controller;
630630}
Original file line number Diff line number Diff line change @@ -50,14 +50,14 @@ class Subtitle {
5050 }
5151
5252 @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 ;
5555
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;
6161 }
6262
6363 @override
Original file line number Diff line number Diff line change @@ -18,8 +18,7 @@ dependencies:
1818dev_dependencies :
1919 flutter_test :
2020 sdk : flutter
21- lint : ^1.8.2
22- very_good_analysis : ^3.0.0
21+ flutter_lints : ^2.0.1
2322
2423flutter :
2524 uses-material-design : true
You can’t perform that action at this time.
0 commit comments