Fix code style

This commit is contained in:
Kris Giesing 2016-03-03 17:07:14 -08:00
parent fca41bc2c5
commit 390fcd9931
2 changed files with 6 additions and 5 deletions

View File

@ -51,10 +51,11 @@ class _ResolutionAwareAssetBundle extends _ResolvingAssetBundle {
AssetBundle bundle,
_ResolutionAwareAssetResolver resolver,
ImageDecoder imageDecoder
}) : super(
}) : _imageDecoder = imageDecoder,
super(
bundle: bundle,
resolver: resolver
), _imageDecoder = imageDecoder;
);
_ResolutionAwareAssetResolver get resolver => super.resolver;

View File

@ -73,9 +73,9 @@ class _SteppedWidgetFlutterBinding extends WidgetFlutterBinding {
/// of time without actually moving the clock forward.
class WidgetTester extends Instrumentation {
WidgetTester._(FakeAsync async)
: super(binding: _SteppedWidgetFlutterBinding.ensureInitialized()),
async = async,
clock = async.getClock(new DateTime.utc(2015, 1, 1)) {
: async = async,
clock = async.getClock(new DateTime.utc(2015, 1, 1)),
super(binding: _SteppedWidgetFlutterBinding.ensureInitialized()) {
timeDilation = 1.0;
ui.window.onBeginFrame = null;
runApp(new ErrorWidget()); // flush out the last build entirely