flutter_summernote icon indicating copy to clipboard operation
flutter_summernote copied to clipboard

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

Open ShirishAryal opened this issue 1 year ago • 2 comments

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.

ShirishAryal avatar Jun 05 '23 05:06 ShirishAryal

have you got any solution

Devandhiran637 avatar Jul 06 '23 13:07 Devandhiran637

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   

remymumoh avatar Sep 05 '23 07:09 remymumoh