Fix code style
This commit is contained in:
parent
fca41bc2c5
commit
390fcd9931
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user