fix: prevent null check error in _changeSequence when showcase is dismissed during animation#641
Merged
vatsaltanna-simformsolutions merged 3 commits intoJun 16, 2026
Conversation
Copilot
AI
changed the title
[WIP] Fix TypeError: Null check operator used on a null value
fix: prevent null check error in Apr 30, 2026
_changeSequence when showcase is dismissed during animation
|
Please proceed with this to the official release :) |
vatsaltanna-simformsolutions
approved these changes
Jun 9, 2026
4b43416 to
4f0d782
Compare
vasu-nageshri
approved these changes
Jun 16, 2026
4f0d782 to
c758562
Compare
vasu-nageshri
approved these changes
Jun 16, 2026
0b88dd3 to
3be7a6d
Compare
… async operation Agent-Logs-Url: https://github.com/SimformSolutionsPvtLtd/showcaseview/sessions/4bf31dc9-6596-4146-a8a3-5ca1752034bc Co-authored-by: vatsaltanna-simformsolutions <63704011+vatsaltanna-simformsolutions@users.noreply.github.com>
3be7a6d to
883b8b8
Compare
vatsaltanna-simformsolutions
approved these changes
Jun 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
_idscan be set tonullbydismiss()→_cleanupAfterSteps()while_onComplete()'s reverse animations are still running. When the.then()callback fires afterward,_ids!.lengththrowsTypeError: Null check operator used on a null value.Fix: add an early-return guard for
_ids == nullinside the.then()callback, after the existing!_mountedcheck:Checklist
fix:,feat:,docs:etc).docsand added dartdoc comments with///.examplesordocs.Breaking Change?
Related Issues
Closes #629