We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Whenever I ran the controller, it is crashing.
The method 'addListener' was called on null. Receiver: null Tried calling: addListener(Closure: () => void from Function '_listener@47216319':.)
in my class:
class Foo extends State<Bar> with TickerProviderStateMixin { GifController gifController; @override void initState() { ... gifController = GifController(vsync: this); WidgetsBinding.instance.addPostFrameCallback((_){ gifController.repeat(min: 0,max: 53,period: Duration(milliseconds: 200)); }); super.initState(); } ... @override Widget build(BuildContext context) { ... return Container( ... GifImage( controller: gifController, image: AssetImage("assets/inkman-hour-tick.gif"), ), } ...
The text was updated successfully, but these errors were encountered:
i think you are calling adListener before loading GifImage Widget
Sorry, something went wrong.
No branches or pull requests
Whenever I ran the controller, it is crashing.
in my class:
The text was updated successfully, but these errors were encountered: