You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following assertion was thrown while finalizing the widget tree:
_SidebarXState#9275a(ticker active) was disposed with an active Ticker.
_SidebarXState created a Ticker via its SingleTickerProviderStateMixin, but at the time dispose()
was called on the mixin, that Ticker was still active. The Ticker 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.
Is it possible to fix it by changing the following:
class SidebarX extends StatefulWidget {
/// Omit some code....
@override
void dispose() {
_animationController.dispose();
super.dispose();
}
}
The text was updated successfully, but these errors were encountered:
Describe the bug
I get the following error:
Is it possible to fix it by changing the following:
The text was updated successfully, but these errors were encountered: