Skip to content
New issue

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

Error while adding animation to Snackbar (iOS simulator) #14094

Closed
zarub2k opened this issue Jan 13, 2018 · 4 comments
Closed

Error while adding animation to Snackbar (iOS simulator) #14094

zarub2k opened this issue Jan 13, 2018 · 4 comments

Comments

@zarub2k
Copy link

zarub2k commented Jan 13, 2018

OS: Mac OS
Device: iOS Simulator

Steps to Reproduce

When I tried to show snackbar with some animation, I am getting the following error.

Logs

══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
The following assertion was thrown while handling a gesture:
'package:flutter/src/animation/animation_controller.dart': Failed assertion: line 127 pos 15: 'vsync
!= null': is not true.

Either the assertion indicates an error in the framework itself, or we should provide substantially
more information in this error message to help you determine and fix the underlying cause.
In either case, please report this assertion by filing a bug on GitHub:
https://github.com/flutter/flutter/issues/new

When the exception was thrown, this was the stack:

Handler: onTap
Recognizer:
TapGestureRecognizer#c1a30(debugOwner: GestureDetector, state: possible, won arena, finalPosition:
════════════════════════════════════════════════════════════════════════════════════════════════════

> For more information about diagnosing and reporting Flutter bugs, please see [https://flutter.io/bug-reports/](https://flutter.io/bug-reports/).
@cbracken
Copy link
Member

cbracken commented Jan 14, 2018

Are you setting the required vsync property in the AnimationController constructor?

https://docs.flutter.io/flutter/animation/AnimationController/AnimationController.html

You’ll want to pass in a TickerProvider.

@Hixie
Copy link
Contributor

Hixie commented Jan 14, 2018

What does the analyzer report?

@Hixie
Copy link
Contributor

Hixie commented May 23, 2018

@zarub2k I'm going to close it since we haven't heard back from you. Please let us know if you are still running into this.

@Hixie Hixie closed this as completed May 23, 2018
iskakaushik pushed a commit to iskakaushik/flutter that referenced this issue Dec 5, 2019
git@github.com:flutter/engine.git/compare/fdaa7cf12175...ee4c2a5

git log fdaa7cf..ee4c2a5 --first-parent --oneline
2019-12-05 skia-flutter-autoroll@skia.org Roll src/third_party/skia 6344c2937997..0af32fdf5fea (12 commits) (flutter#14139)
2019-12-05 dworsham@google.com Wire up Opacity on Fuchsia, round 2 (flutter#14024)
2019-12-05 gw280@google.com Disable fml_tests until they're fixed on Fuchsia (flutter#14137)
2019-12-05 30870216+gaaclarke@users.noreply.github.com Started specifying the OS version for running the tests. (flutter#14094)
2019-12-04 skia-flutter-autoroll@skia.org Roll src/third_party/skia ccca30aad770..6344c2937997 (13 commits) (flutter#14133)
2019-12-04 30870216+gaaclarke@users.noreply.github.com Expanded our scenario_app docs. (flutter#14136)
2019-12-04 yjbanov@google.com [web][felt] fix source map path (flutter#14134)
2019-12-04 chinmaygarde@google.com Fix platform view offsets incorrectly taking into account device pixel ratios. (flutter#14135)
iskakaushik added a commit that referenced this issue Dec 5, 2019
git@github.com:flutter/engine.git/compare/fdaa7cf12175...ee4c2a5

git log fdaa7cf..ee4c2a5 --first-parent --oneline
2019-12-05 skia-flutter-autoroll@skia.org Roll src/third_party/skia 6344c2937997..0af32fdf5fea (12 commits) (#14139)
2019-12-05 dworsham@google.com Wire up Opacity on Fuchsia, round 2 (#14024)
2019-12-05 gw280@google.com Disable fml_tests until they're fixed on Fuchsia (#14137)
2019-12-05 30870216+gaaclarke@users.noreply.github.com Started specifying the OS version for running the tests. (#14094)
2019-12-04 skia-flutter-autoroll@skia.org Roll src/third_party/skia ccca30aad770..6344c2937997 (13 commits) (#14133)
2019-12-04 30870216+gaaclarke@users.noreply.github.com Expanded our scenario_app docs. (#14136)
2019-12-04 yjbanov@google.com [web][felt] fix source map path (#14134)
2019-12-04 chinmaygarde@google.com Fix platform view offsets incorrectly taking into account device pixel ratios. (#14135)
engine-flutter-autoroll added a commit that referenced this issue Dec 5, 2019
git@github.com:flutter/engine.git/compare/fdaa7cf12175...ee4c2a5

git log fdaa7cf..ee4c2a5 --first-parent --oneline
2019-12-05 skia-flutter-autoroll@skia.org Roll src/third_party/skia 6344c2937997..0af32fdf5fea (12 commits) (#14139)
2019-12-05 dworsham@google.com Wire up Opacity on Fuchsia, round 2 (#14024)
2019-12-05 gw280@google.com Disable fml_tests until they're fixed on Fuchsia (#14137)
2019-12-05 30870216+gaaclarke@users.noreply.github.com Started specifying the OS version for running the tests. (#14094)
2019-12-04 skia-flutter-autoroll@skia.org Roll src/third_party/skia ccca30aad770..6344c2937997 (13 commits) (#14133)
2019-12-04 30870216+gaaclarke@users.noreply.github.com Expanded our scenario_app docs. (#14136)
2019-12-04 yjbanov@google.com [web][felt] fix source map path (#14134)
2019-12-04 chinmaygarde@google.com Fix platform view offsets incorrectly taking into account device pixel ratios. (#14135)


If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC chinmaygarde@google.com on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants