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
5fb2cb32
Commit
5fb2cb32
authored
Sep 22, 2015
by
Hixie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings and build errors
Fixes errors from #1285 and #1281.
parent
b73b06e4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
basic.dart
packages/flutter/lib/src/fn3/basic.dart
+4
-4
binding.dart
packages/flutter/lib/src/fn3/binding.dart
+1
-1
framework.dart
packages/flutter/lib/src/fn3/framework.dart
+1
-5
No files found.
packages/flutter/lib/src/fn3/basic.dart
View file @
5fb2cb32
...
...
@@ -119,7 +119,7 @@ class ClipRect extends OneChildRenderObjectWidget {
RenderClipRect
createRenderObject
()
=>
new
RenderClipRect
();
void
updateRenderObject
(
ClipRect
renderObject
,
ClipRect
oldWidget
)
{
void
updateRenderObject
(
Render
ClipRect
renderObject
,
ClipRect
oldWidget
)
{
// Nothing to update
}
}
...
...
@@ -145,7 +145,7 @@ class ClipOval extends OneChildRenderObjectWidget {
RenderClipOval
createRenderObject
()
=>
new
RenderClipOval
();
void
updateRenderObject
(
ClipOval
renderObject
,
ClipOval
oldWidget
)
{
void
updateRenderObject
(
Render
ClipOval
renderObject
,
ClipOval
oldWidget
)
{
// Nothing to update
}
}
...
...
@@ -464,7 +464,7 @@ class Stack extends MultiChildRenderObjectWidget {
RenderStack
createRenderObject
()
=>
new
RenderStack
();
void
updateRenderObject
(
ClipRect
renderObject
,
Stack
oldWidget
)
{
void
updateRenderObject
(
RenderStack
renderObject
,
Stack
oldWidget
)
{
// Nothing to update
}
...
...
@@ -747,7 +747,7 @@ class IgnorePointer extends OneChildRenderObjectWidget {
final
bool
ignoring
;
RenderIgnorePointer
create
Elemen
t
()
=>
new
RenderIgnorePointer
(
ignoring:
ignoring
);
RenderIgnorePointer
create
RenderObjec
t
()
=>
new
RenderIgnorePointer
(
ignoring:
ignoring
);
void
updateRenderObject
(
RenderIgnorePointer
renderObject
,
IgnorePointer
oldWidget
)
{
renderObject
.
ignoring
=
ignoring
;
...
...
packages/flutter/lib/src/fn3/binding.dart
View file @
5fb2cb32
...
...
@@ -11,7 +11,7 @@ class WidgetSkyBinding extends SkyBinding {
WidgetSkyBinding
({
RenderView
renderViewOverride:
null
})
:
super
(
renderViewOverride:
renderViewOverride
)
{
BuildableElement
.
scheduleBuildFor
=
this
.
scheduleBuildFor
;
BuildableElement
.
scheduleBuildFor
=
scheduleBuildFor
;
}
/// Ensures that there is a SkyBinding object instantiated.
...
...
packages/flutter/lib/src/fn3/framework.dart
View file @
5fb2cb32
...
...
@@ -519,6 +519,7 @@ abstract class RenderObjectElement<T extends RenderObjectWidget> extends Element
void
unmount
()
{
super
.
unmount
();
_widget
.
didUnmountRenderObject
(
renderObject
);
_registry
.
remove
(
renderObject
);
}
void
detachRenderObject
()
{
...
...
@@ -528,11 +529,6 @@ abstract class RenderObjectElement<T extends RenderObjectWidget> extends Element
}
}
void
unmount
()
{
super
.
unmount
();
_registry
.
remove
(
renderObject
);
}
void
insertChildRenderObject
(
RenderObject
child
,
dynamic
slot
);
void
removeChildRenderObject
(
RenderObject
child
);
...
...
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