@@ -14,6 +14,7 @@ class ColorTween {}
1414/// `avoid_late_keyword`
1515/// allow_initialized option disabled
1616class AvoidLateKeyword {
17+ /// expect_lint: avoid_late_keyword
1718 late final Animation animation1;
1819
1920 late final animation2 = AnimationController ();
@@ -23,27 +24,25 @@ class AvoidLateKeyword {
2324 /// expect_lint: avoid_late_keyword
2425 late final ColorTween colorTween1;
2526
26- /// expect_lint: avoid_late_keyword
2727 late final colorTween2 = ColorTween ();
2828
29- /// expect_lint: avoid_late_keyword
3029 late final colorTween3 = colorTween2;
3130
31+ /// expect_lint: avoid_late_keyword
3232 late final AnimationController controller1;
3333
34- /// expect_lint: avoid_late_keyword
3534 late final field1 = 'string' ;
3635
3736 /// expect_lint: avoid_late_keyword
3837 late final String field2;
3938
40- /// expect_lint: avoid_late_keyword
4139 late final String field3 = 'string' ;
4240
4341 /// expect_lint: avoid_late_keyword
4442 late final field4;
4543
4644 void test () {
45+ /// expect_lint: avoid_late_keyword
4746 late final Animation animation1;
4847
4948 late final animation2 = AnimationController ();
@@ -53,21 +52,18 @@ class AvoidLateKeyword {
5352 /// expect_lint: avoid_late_keyword
5453 late final ColorTween colorTween1;
5554
56- /// expect_lint: avoid_late_keyword
5755 late final colorTween2 = ColorTween ();
5856
59- /// expect_lint: avoid_late_keyword
6057 late final colorTween3 = colorTween2;
6158
59+ /// expect_lint: avoid_late_keyword
6260 late final AnimationController controller1;
6361
64- /// expect_lint: avoid_late_keyword
6562 late final local1 = 'string' ;
6663
6764 /// expect_lint: avoid_late_keyword
6865 late final String local2;
6966
70- /// expect_lint: avoid_late_keyword
7167 late final String local4 = 'string' ;
7268
7369 /// expect_lint: avoid_late_keyword
0 commit comments