mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove deprecation from RenderView (#73748)
This commit is contained in:
parent
4feb18ca3d
commit
3fbe1a5904
@ -107,19 +107,6 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
|
||||
/// * [SystemChrome.setSystemUIOverlayStyle], for imperatively setting the system ui style.
|
||||
bool automaticSystemUiAdjustment = true;
|
||||
|
||||
/// Bootstrap the rendering pipeline by scheduling the first frame.
|
||||
///
|
||||
/// Deprecated. Call [prepareInitialFrame] followed by a call to
|
||||
/// [PipelineOwner.requestVisualUpdate] on [owner] instead.
|
||||
@Deprecated(
|
||||
'Call prepareInitialFrame followed by owner.requestVisualUpdate() instead. '
|
||||
'This feature was deprecated after v1.10.0.'
|
||||
)
|
||||
void scheduleInitialFrame() {
|
||||
prepareInitialFrame();
|
||||
owner!.requestVisualUpdate();
|
||||
}
|
||||
|
||||
/// Bootstrap the rendering pipeline by preparing the first frame.
|
||||
///
|
||||
/// This should only be called once, and must be called before changing
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user