containingGroupChanged property
Gets or sets the function that is called after this Part has changed which Group it belongs to, if any. It is typically used to modify the appearance of the part. The first argument will be this Part. The second argument will be the old Group, or null if it had been a top-level part. The third argument will be the new Group, or null if it is now a top-level part.
If the value is a function, that function must not modify the part's containing Group. The containing Group has already been changed -- trying to change it again may produce undefined behavior.
The initial value is null -- no function is called.
Implementation
void Function(
_i3.Part, [
_i3.Group?,
_i3.Group?,
])? get containingGroupChanged => (
_i3.Part p0, [
_i3.Group? p1,
_i3.Group? p2,
]) =>
_i4.callMethod(
_i4.getProperty(
this,
'containingGroupChanged',
),
r'call',
[
this,
p0,
p1 ?? _i5.undefined,
p2 ?? _i5.undefined,
],
);