Commit 390fcd99 authored by Kris Giesing's avatar Kris Giesing

Fix code style

parent fca41bc2
......@@ -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;
......
......@@ -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
......
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