diff --git a/dev/benchmarks/macrobenchmarks/lib/src/cull_opacity.dart b/dev/benchmarks/macrobenchmarks/lib/src/cull_opacity.dart index 158862c86c..c42f2e123d 100644 --- a/dev/benchmarks/macrobenchmarks/lib/src/cull_opacity.dart +++ b/dev/benchmarks/macrobenchmarks/lib/src/cull_opacity.dart @@ -13,7 +13,7 @@ class _CullOpacityPageState extends State with SingleTickerProv void initState() { super.initState(); - _controller = AnimationController(vsync: this, duration: Duration(seconds: 2)); + _controller = AnimationController(vsync: this, duration: const Duration(seconds: 2)); _offsetY = Tween(begin: 0, end: -1000.0).animate(_controller)..addListener((){ setState(() {}); });