1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-01 09:13:23 +00:00

Remove unneeded types (#949)

This commit is contained in:
Ahmed Ashour
2021-11-03 17:58:12 +01:00
committed by GitHub
parent 64805fe5b6
commit 29339b8334
30 changed files with 54 additions and 55 deletions

View File

@@ -60,7 +60,7 @@ class CatmullInterpolator implements Interpolator {
}
static void test() {
List<Point2D> controlPoints = <Point2D>[];
final controlPoints = <Point2D>[];
controlPoints.add(Point2D(-1, 1));
controlPoints.add(Point2D(0, 1));
controlPoints.add(Point2D(1, -1));