Updating Reference: FlutterBinding -> RendererBinding (#4602)
This commit is contained in:
parent
6ba5674d12
commit
6befb6308a
@ -808,7 +808,7 @@ class PipelineOwner {
|
|||||||
/// information is cleaned prior to painting so that render objects will
|
/// information is cleaned prior to painting so that render objects will
|
||||||
/// appear on screen in their up-to-date locations.
|
/// appear on screen in their up-to-date locations.
|
||||||
///
|
///
|
||||||
/// See [FlutterBinding] for an example of how this function is used.
|
/// See [RendererBinding] for an example of how this function is used.
|
||||||
void flushLayout() {
|
void flushLayout() {
|
||||||
Timeline.startSync('Layout');
|
Timeline.startSync('Layout');
|
||||||
_debugDoingLayout = true;
|
_debugDoingLayout = true;
|
||||||
@ -860,7 +860,7 @@ class PipelineOwner {
|
|||||||
/// Painting occurs after layout and before the scene is recomposited so that
|
/// Painting occurs after layout and before the scene is recomposited so that
|
||||||
/// scene is composited with up-to-date display lists for every render object.
|
/// scene is composited with up-to-date display lists for every render object.
|
||||||
///
|
///
|
||||||
/// See [FlutterBinding] for an example of how this function is used.
|
/// See [RendererBinding] for an example of how this function is used.
|
||||||
void flushPaint() {
|
void flushPaint() {
|
||||||
Timeline.startSync('Paint');
|
Timeline.startSync('Paint');
|
||||||
_debugDoingPaint = true;
|
_debugDoingPaint = true;
|
||||||
@ -889,7 +889,7 @@ class PipelineOwner {
|
|||||||
/// semantics are compiled after painting and only after
|
/// semantics are compiled after painting and only after
|
||||||
/// [RenderObject.scheduleInitialSemantics] has been called.
|
/// [RenderObject.scheduleInitialSemantics] has been called.
|
||||||
///
|
///
|
||||||
/// See [FlutterBinding] for an example of how this function is used.
|
/// See [RendererBinding] for an example of how this function is used.
|
||||||
void flushSemantics() {
|
void flushSemantics() {
|
||||||
Timeline.startSync('Semantics');
|
Timeline.startSync('Semantics');
|
||||||
assert(_semanticsEnabled);
|
assert(_semanticsEnabled);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user