Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LateInitializationError: Field '_webViewController@139173288' has already been initialized. #51

Open
ShirishAryal opened this issue Jun 5, 2023 · 2 comments

Comments

@ShirishAryal
Copy link

late final WebViewController? _webViewController;
....
@override
  void dispose() {
    if (_webViewController != null) {
      _webViewController = null;
    }
    super.dispose();
  }

Setting _webViewController =null on dispose causing this error.
So every time we dispose the page containing summer_note "LateInitializationError: Field '_webViewController@139173288' has already been initialized." is thrown.

@Devandhiran637
Copy link

Devandhiran637 commented Jul 6, 2023

have you got any solution

@remymumoh
Copy link

remymumoh commented Sep 5, 2023

no solution can we create a pull request to get merged by the developer?

a work around import this

flutter_summernote:
        git:
            url: https://github.com/remymumoh/flutter_summernote.git
            ref: v2.0.0   

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants