Remove unreferenced getter "debugDoesLayoutWithCallback".
I think I wanted to use this at some point but ended up going a different direction. Instead, object.dart has a private field that serves a similar purpose.
This commit is contained in:
parent
f17f1ba1e5
commit
94833b24bf
@ -402,9 +402,6 @@ class RenderBlockViewport extends RenderBlockBase {
|
||||
// scroll the RenderBlockViewport, it would shift in its parent if
|
||||
// the parent was baseline-aligned, which makes no sense.
|
||||
|
||||
// TODO(abarth): debugDoesLayoutWithCallback appears to be unreferenced.
|
||||
bool get debugDoesLayoutWithCallback => true;
|
||||
|
||||
void performLayout() {
|
||||
if (_callback != null) {
|
||||
try {
|
||||
|
@ -786,7 +786,7 @@ abstract class RenderObject extends AbstractNode implements HitTestTarget {
|
||||
/// information without informing this render object.
|
||||
void performLayout();
|
||||
|
||||
/// Allows this render object to mutation its child list during layout and
|
||||
/// Allows this render object to mutate its child list during layout and
|
||||
/// invokes callback.
|
||||
void invokeLayoutCallback(LayoutCallback callback) {
|
||||
assert(_debugMutationsLocked);
|
||||
|
Loading…
x
Reference in New Issue
Block a user