Comments (2)
_FlutterSwitchState#3fb33(ticker active) was disposed with an active Ticker. _FlutterSwitchState 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. The offending ticker was: Ticker(created by _FlutterSwitchState#3fb33(lifecycle state: created)) The stack trace when the Ticker was actually created was: #0 new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40) #1 new Ticker (package:flutter/src/scheduler/ticker.dart:69:6) #2 SingleTickerProviderStateMixin.createTicker (package:flutter/src/widgets/ticker_provider.dart:131:15) #3 new AnimationController (package:flutter/src/animation/animation_controller.dart:248:21) #4 _FlutterSwitchState.initState (package:flut
from flutterswitch.
Hi @MohitSG96 , what version of the package are you using? This issue is similar with issue #5 and pull request #6 addressed it.
from flutterswitch.
Related Issues (20)
- Resetting to OFF state every time when app open from background HOT 2
- Fist Switch action is not checking conditions in "onToggle" HOT 3
- Switching animation only has 3 frames HOT 1
- check state on app restart HOT 1
- Null Safety HOT 2
- Widget Disable Parameter HOT 2
- Allow Font Awesome Icons and images to also be displayed with icons as well HOT 1
- Change activeText and inactiveText to a widget
- The switch comes on the center of the screen HOT 5
- no has onChange HOT 1
- Missing RTL support HOT 1
- size is not properly manage by default HOT 1
- Reduce padding between toggle and edges to 0 HOT 2
- Custom Text Switch with custom shape toggle might be good
- The image not fill all toggle space
- Switch with motion event (Swipe gesture should invoke switch toggle moving)
- No gradient available for the background of the switch
- Page in pub.dev likes icon is missing
- 能新增一个disabledColor吗。
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutterswitch.