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

Fix code style

parent fca41bc2
...@@ -51,10 +51,11 @@ class _ResolutionAwareAssetBundle extends _ResolvingAssetBundle { ...@@ -51,10 +51,11 @@ class _ResolutionAwareAssetBundle extends _ResolvingAssetBundle {
AssetBundle bundle, AssetBundle bundle,
_ResolutionAwareAssetResolver resolver, _ResolutionAwareAssetResolver resolver,
ImageDecoder imageDecoder ImageDecoder imageDecoder
}) : super( }) : _imageDecoder = imageDecoder,
super(
bundle: bundle, bundle: bundle,
resolver: resolver resolver: resolver
), _imageDecoder = imageDecoder; );
_ResolutionAwareAssetResolver get resolver => super.resolver; _ResolutionAwareAssetResolver get resolver => super.resolver;
......
...@@ -73,9 +73,9 @@ class _SteppedWidgetFlutterBinding extends WidgetFlutterBinding { ...@@ -73,9 +73,9 @@ class _SteppedWidgetFlutterBinding extends WidgetFlutterBinding {
/// of time without actually moving the clock forward. /// of time without actually moving the clock forward.
class WidgetTester extends Instrumentation { class WidgetTester extends Instrumentation {
WidgetTester._(FakeAsync async) WidgetTester._(FakeAsync async)
: super(binding: _SteppedWidgetFlutterBinding.ensureInitialized()), : async = async,
async = async, clock = async.getClock(new DateTime.utc(2015, 1, 1)),
clock = async.getClock(new DateTime.utc(2015, 1, 1)) { super(binding: _SteppedWidgetFlutterBinding.ensureInitialized()) {
timeDilation = 1.0; timeDilation = 1.0;
ui.window.onBeginFrame = null; ui.window.onBeginFrame = null;
runApp(new ErrorWidget()); // flush out the last build entirely 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