_FocusTraversalGroupNode should communicate creation in constructor. (#133717)

This commit is contained in:
Polina Cherkasova 2023-08-31 10:18:19 -07:00 committed by GitHub
parent 54402ae375
commit c1256d5353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1784,7 +1784,11 @@ class _FocusTraversalGroupNode extends FocusNode {
_FocusTraversalGroupNode({
super.debugLabel,
required this.policy,
});
}) {
if (kFlutterMemoryAllocationsEnabled) {
maybeDispatchObjectCreation();
}
}
FocusTraversalPolicy policy;
}