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
b0b8b91b
Unverified
Commit
b0b8b91b
authored
Dec 16, 2019
by
Kate Lovett
Committed by
GitHub
Dec 16, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
RenderProxySliver (#45942)
parent
a516a24e
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
378 additions
and
386 deletions
+378
-386
rendering.dart
packages/flutter/lib/rendering.dart
+1
-0
proxy_box.dart
packages/flutter/lib/src/rendering/proxy_box.dart
+6
-1
proxy_sliver.dart
packages/flutter/lib/src/rendering/proxy_sliver.dart
+371
-0
sliver.dart
packages/flutter/lib/src/rendering/sliver.dart
+0
-385
No files found.
packages/flutter/lib/rendering.dart
View file @
b0b8b91b
...
@@ -50,6 +50,7 @@ export 'src/rendering/paragraph.dart';
...
@@ -50,6 +50,7 @@ export 'src/rendering/paragraph.dart';
export
'src/rendering/performance_overlay.dart'
;
export
'src/rendering/performance_overlay.dart'
;
export
'src/rendering/platform_view.dart'
;
export
'src/rendering/platform_view.dart'
;
export
'src/rendering/proxy_box.dart'
;
export
'src/rendering/proxy_box.dart'
;
export
'src/rendering/proxy_sliver.dart'
;
export
'src/rendering/rotated_box.dart'
;
export
'src/rendering/rotated_box.dart'
;
export
'src/rendering/shifted_box.dart'
;
export
'src/rendering/shifted_box.dart'
;
export
'src/rendering/sliver.dart'
;
export
'src/rendering/sliver.dart'
;
...
...
packages/flutter/lib/src/rendering/proxy_box.dart
View file @
b0b8b91b
...
@@ -26,7 +26,7 @@ export 'package:flutter/gestures.dart' show
...
@@ -26,7 +26,7 @@ export 'package:flutter/gestures.dart' show
PointerUpEvent
,
PointerUpEvent
,
PointerCancelEvent
;
PointerCancelEvent
;
/// A base class for render
object
s that resemble their children.
/// A base class for render
boxe
s that resemble their children.
///
///
/// A proxy box has a single child and simply mimics all the properties of that
/// A proxy box has a single child and simply mimics all the properties of that
/// child by calling through to the child for each function in the render box
/// child by calling through to the child for each function in the render box
...
@@ -37,6 +37,11 @@ export 'package:flutter/gestures.dart' show
...
@@ -37,6 +37,11 @@ export 'package:flutter/gestures.dart' show
/// the proxy box with its child. However, RenderProxyBox is a useful base class
/// the proxy box with its child. However, RenderProxyBox is a useful base class
/// for render objects that wish to mimic most, but not all, of the properties
/// for render objects that wish to mimic most, but not all, of the properties
/// of their child.
/// of their child.
///
/// See also:
///
/// * [RenderProxySliver], a base class for render slivers that resemble their
/// children.
class
RenderProxyBox
extends
RenderBox
with
RenderObjectWithChildMixin
<
RenderBox
>,
RenderProxyBoxMixin
<
RenderBox
>
{
class
RenderProxyBox
extends
RenderBox
with
RenderObjectWithChildMixin
<
RenderBox
>,
RenderProxyBoxMixin
<
RenderBox
>
{
/// Creates a proxy render box.
/// Creates a proxy render box.
///
///
...
...
packages/flutter/lib/src/rendering/proxy_sliver.dart
0 → 100644
View file @
b0b8b91b
This diff is collapsed.
Click to expand it.
packages/flutter/lib/src/rendering/sliver.dart
View file @
b0b8b91b
This diff is collapsed.
Click to expand it.
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