Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
390fcd99
Commit
390fcd99
authored
Mar 04, 2016
by
Kris Giesing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix code style
parent
fca41bc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
asset_vendor.dart
packages/flutter/lib/src/widgets/asset_vendor.dart
+3
-2
widget_tester.dart
packages/flutter_test/lib/src/widget_tester.dart
+3
-3
No files found.
packages/flutter/lib/src/widgets/asset_vendor.dart
View file @
390fcd99
...
...
@@ -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
;
...
...
packages/flutter_test/lib/src/widget_tester.dart
View file @
390fcd99
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment