Commit 6b748e65 authored by Adam Barth's avatar Adam Barth

Fix more analyzer warnings

parent 53efc748
...@@ -45,7 +45,7 @@ class ShrinkingCard extends AnimatedComponent { ...@@ -45,7 +45,7 @@ class ShrinkingCard extends AnimatedComponent {
Function onUpdated; Function onUpdated;
Function onCompleted; Function onCompleted;
double get currentHeight => (card.performance.variable as AnimatedType).value; double get currentHeight => (card.performance.variable as AnimatedValue).value;
void initState() { void initState() {
assert(card.performance != null); assert(card.performance != null);
......
...@@ -93,6 +93,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl ...@@ -93,6 +93,7 @@ class RenderFlex extends RenderBox with ContainerRenderObjectMixin<RenderBox, Fl
} }
} }
double _overflow;
void setupParentData(RenderBox child) { void setupParentData(RenderBox child) {
if (child.parentData is! FlexBoxParentData) if (child.parentData is! FlexBoxParentData)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment