bitsdojo / bitsdojo_window

A Flutter package that makes it easy to customize and work with your Flutter desktop app window.
http://www.youtube.com/watch?v=bee2AHQpGK4
MIT License
815 stars 229 forks source link

ticker is disposed but still get error maximize window in desktop flutter #85

Closed snorliman closed 3 years ago

snorliman commented 3 years ago

info about error: "The following assertion was thrown while finalizing the widget tree: _CalibrationCustomState#c6f06(tickers: tracking 1 ticker) was disposed with an active Ticker.

_CalibrationCustomState created a Ticker via its TickerProviderStateMixin, but at the time dispose() was called on the mixin, that Ticker was still active. All Tickers must be disposed before calling super.dispose().

Tickers used by AnimationControllers should be disposed by calling dispose() on the AnimationController itself. Otherwise, the ticker will leak."

in my code i have dispose stream and animation but still with maximize window i got this error

bitsdojo commented 3 years ago

Hi there,

Do you have a sample repository that I can use to test this?

snorliman commented 3 years ago

Thank you for answer:) but I have updated new version of Flutter and updated Android Studio and now this issue is gone:) I will test more, if where is for sure, but now when I maximize window the error is not showing up:)