flame
flame copied to clipboard
fix: Pass in intended parent to remove
Description
If the intended parent isn't passed it it can be set to null by an asynchronous context before it is used.
Closes: #3622
Checklist
- [x] I have followed the Contributor Guide when preparing my PR.
- [x] I have updated/added tests for ALL new/updated/fixed functionality.
- [x] I have updated/added relevant documentation in
docsand added dartdoc comments with///. - [x] I have updated/added relevant examples in
examplesordocs.
Breaking Change?
- [ ] Yes, this PR is a breaking change.
- [x] No, this PR is not a breaking change.