Skip to content

Please publish a new pub.dev release including the merged null-check fix (PR #85) #89

Description

@JohnSamy11

Hi @Shrutimahajan, thanks for maintaining this package.

PR #85 ("fix: Null check error when widget unmounts during debounce") was merged to master on 2026-05-09 (commit 71ee364b442f0527d65ed26fe35b624f8e5a07e7), but the latest version on pub.dev is still 2.1.1 (published 2025-08-21), which doesn't include the fix.

We're seeing the original crash in production via Sentry — the this._overlayEntry!.remove() force-unwrap fires when the user clears the text field before any predictions overlay has been created. The merged fix already addresses this correctly:

if (_overlayEntry?.mounted ?? false) {
  _overlayEntry!.remove();
}

Would it be possible to cut a new pub.dev release (e.g. 2.1.2 or 2.2.0) so consumers can pick up the fix without pinning to a git ref?

Happy to help by opening a release PR with a CHANGELOG.md entry and a version bump if that would speed things up — just let me know.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions