Clean up external_ui device lab test (#13177)

This commit is contained in:
Mikkel Nygaard Ravn
2017-11-23 10:24:16 +01:00
committed by GitHub
parent 5ecbc92b1a
commit 167382480a
6 changed files with 13 additions and 9 deletions

View File

@@ -95,7 +95,9 @@ Widget builds: $_widgetBuilds''';
ticker.dispose();
setState(() {
_flutterFrameRate = tickCount * 1000 / elapsed.inMilliseconds;
_summary = 'Flutter frame rate is ${_flutterFrameRate.toStringAsFixed(1)}fps.\nPress play to produce texture frames.';
_summary = '''
Flutter frame rate is ${_flutterFrameRate.toStringAsFixed(1)}fps.
Press play to produce texture frames.''';
_icon = Icons.play_arrow;
_state = FrameState.initial;
});