Fix leaking animation in floating action button. (#3575)

This commit is contained in:
Ian Hickson
2016-04-27 12:30:48 -07:00
committed by Adam Barth
parent 0f1dbe09af
commit 256adfcd46
3 changed files with 17 additions and 8 deletions

View File

@@ -20,10 +20,6 @@ void main() {
tester.setLocale("es", "US");
tester.pump();
expect(tester, hasWidget(find.text('MERCADO')));
// TODO(abarth): We're leaking an animation. We should track down the leak
// and plug it rather than waiting for the animation to end here.
tester.pump(const Duration(seconds: 1));
});
});
}