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

This widget has been unmounted, so the State no longer has a context (and should be considered defunct). #272

Open
YouSour opened this issue Jun 10, 2021 · 4 comments

Comments

@YouSour
Copy link

YouSour commented Jun 10, 2021

hi , i'm using flutter_swiper: ^1.1.6 , i develop on web , everything work great , but i got this error message every time i click on maximize or minimize , how can i fix it ? thank in advance

The following assertion was thrown during a scheduler callback:
This widget has been unmounted, so the State no longer has a context (and should be considered defunct).

Consider canceling any active work during "dispose" or using the "mounted" getter to determine if the State is still active.
When the exception was thrown, this was the stack
dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 236:49  throw_
packages/flutter/src/widgets/framework.dart 1088:9                            <fn>
packages/flutter/src/widgets/framework.dart 1093:14                           get context
packages/transformer_page_view/transformer_page_view.dart 455:17              [_onGetSize]
packages/flutter/src/scheduler/binding.dart 1144:15                           [_invokeFrameCallback]
...
════════════════════════════════════════════════════════════════════════════════
 
@shuizhuyu1015
Copy link

me too, How to solve?

@dingzuhua2017
Copy link

me too

dingzuhua2017 pushed a commit to polkawallet-io/transformer_page_view that referenced this issue Feb 10, 2022
dingzuhua2017 pushed a commit to polkawallet-io/app that referenced this issue Feb 10, 2022
@dingzuhua2017
Copy link

https://github.com/polkawallet-io/transformer_page_view.git

transformer_page_view:
git:
url: https://github.com/polkawallet-io/transformer_page_view.git
ref: 19f3b7c46d5e81653cf027baa2cbe8d629dc052d

Overwriting the original Transformer_Page_view package solves the problem

@felipecastrosales
Copy link

How resolve this? @best-flutter

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

4 participants