changeParent method
- @Deprecated('Will be removed in 1.9.0. Use the parent setter instead.')
- Component newParent
inherited
Changes the current parent for another parent and prepares the tree under the new root.
Implementation
@Deprecated('Will be removed in 1.9.0. Use the parent setter instead.')
// ignore: use_setters_to_change_properties
void changeParent(Component newParent) {
parent = newParent;
}