From 84a879e66dc6448134b250f6ad1bf3ed874d2f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Drago=C8=99=20Tiselice?= Date: Fri, 16 Sep 2016 12:24:37 -0700 Subject: [PATCH] Renamed constant. (#5910) Due to a synchronization issue, a PR was merged with a green build that was supposed to be rebuilt and to fail. This commit fixes the issue by renaming the usage of a constant. --- examples/flutter_gallery/lib/demo/pesto_demo.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/flutter_gallery/lib/demo/pesto_demo.dart b/examples/flutter_gallery/lib/demo/pesto_demo.dart index db6c9059d5..073b6528aa 100644 --- a/examples/flutter_gallery/lib/demo/pesto_demo.dart +++ b/examples/flutter_gallery/lib/demo/pesto_demo.dart @@ -120,7 +120,7 @@ class _RecipeGridPageState extends State { final Size size = constraints.biggest; final double appBarHeight = size.height - statusBarHeight; final double extraPadding = new Tween(begin: 10.0, end: 24.0).lerp( - ((appBarHeight - kToolBarHeight) / _kAppBarHeight).clamp(0.0, 1.0) + ((appBarHeight - kToolbarHeight) / _kAppBarHeight).clamp(0.0, 1.0) ); final double logoHeight = appBarHeight - 1.5 * extraPadding; return new Padding(