enable lints prefer_spread_collections and prefer_inlined_adds (#35189)

This commit is contained in:
Alexandre Ardhuin
2019-06-27 21:23:16 +02:00
committed by GitHub
parent 31cf49a9c9
commit 919dcf53f3
51 changed files with 197 additions and 172 deletions

View File

@@ -117,11 +117,12 @@ class AnimatedBezierState extends State<AnimatedBezier>
AnimationController controller;
CurvedAnimation curve;
bool isPlaying = false;
List<List<Point>> pointList = <List<Point>>[]
..add(<Point>[])
..add(<Point>[])
..add(<Point>[])
..add(<Point>[]);
List<List<Point>> pointList = <List<Point>>[
<Point>[],
<Point>[],
<Point>[],
<Point>[],
];
bool isReversed = false;
List<PathDetail> _playForward() {