flutter_swiper
flutter_swiper copied to clipboard
This widget has been unmounted, so the State no longer has a context (and should be considered defunct).
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]
...
════════════════════════════════════════════════════════════════════════════════
me too, How to solve?
me too
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
How resolve this? @best-flutter