appendChild method
Implementation
@nonVirtual
@override
dom.Node appendChild(dom.Node child) {
super.appendChild(child);
// Only trigger update if the child are created by JS. If it's created on Flutter widgets, the flutter framework will handle this.
if (state != null) {
state!.requestUpdateState();
}
return child;
}