From a43a34e901e8f3daab89bbc366deb79ba5bb20e1 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Tue, 21 Jul 2015 13:59:18 -0700 Subject: [PATCH] Fix more analyzer warnings --- sky/sdk/example/widgets/card_collection.dart | 2 +- sky/sdk/lib/rendering/flex.dart | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sky/sdk/example/widgets/card_collection.dart b/sky/sdk/example/widgets/card_collection.dart index eb79bb416d5..609993114af 100644 --- a/sky/sdk/example/widgets/card_collection.dart +++ b/sky/sdk/example/widgets/card_collection.dart @@ -45,7 +45,7 @@ class ShrinkingCard extends AnimatedComponent { Function onUpdated; Function onCompleted; - double get currentHeight => (card.performance.variable as AnimatedType).value; + double get currentHeight => (card.performance.variable as AnimatedValue).value; void initState() { assert(card.performance != null); diff --git a/sky/sdk/lib/rendering/flex.dart b/sky/sdk/lib/rendering/flex.dart index d36afe074a5..8b61489dfb4 100644 --- a/sky/sdk/lib/rendering/flex.dart +++ b/sky/sdk/lib/rendering/flex.dart @@ -93,6 +93,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin