Reland "Keep dirty manipulations private to Element base class (#109401)" (#109562)

This commit is contained in:
Michael Goderbauer
2022-08-15 12:59:13 -07:00
committed by GitHub
parent c873c2100a
commit 2b9beda0d0
7 changed files with 97 additions and 40 deletions

View File

@@ -701,11 +701,11 @@ void main() {
}
@override
void rebuild() {
void rebuild({bool force = false}) {
if (_throwOnRebuild) {
throw 'rebuild';
}
super.rebuild();
super.rebuild(force: force);
}
}
''',