Fix more analyzer warnings

This commit is contained in:
Adam Barth 2015-07-21 13:59:18 -07:00
parent 6dc026bdac
commit a43a34e901
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -93,6 +93,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
}
}
double _overflow;
void setupParentData(RenderBox child) {
if (child.parentData is! FlexBoxParentData)