Merge BuildableElement and Element (#8758)

There aren't any subclasses of Element that don't also subclass
BuildableElement and I suspect they wouldn't work properly anyway.

Fixes #3656
This commit is contained in:
Adam Barth
2017-03-14 17:49:10 -07:00
committed by GitHub
parent 146fc617ca
commit 1e63dc4a72
2 changed files with 51 additions and 82 deletions

View File

@@ -35,7 +35,7 @@ Future<Null> main() async {
await tester.pump(); // Start drawer animation
await tester.pump(const Duration(seconds: 1)); // Complete drawer animation
final BuildableElement appState = tester.element(find.byType(stocks.StocksApp));
final Element appState = tester.element(find.byType(stocks.StocksApp));
watch.start();
while (watch.elapsed < kBenchmarkTime) {