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
I'm using GoRouter (and GoRouterGenerator). I need to push the SigninRoute on skip and finish.
I receive this error:
═══════ Exception caught by scheduler library ═════════════════════════════════
The following assertion was thrown during a scheduler callback:
'package:flutter/src/widgets/heroes.dart': Failed assertion: line 657 pos 12: '() {
final Animation<double> initial = initialManifest.animation;
final HeroFlightDirection type = initialManifest.type;
switch (type) {
case HeroFlightDirection.pop:
return initial.value == 1.0 && initialManifest.isUserGestureTransition
// During user gesture transitions, the animation controller isn't
// driving the reverse transition, but should still be in a previously
// completed stage with the initial value at 1.0.
? initial.status == AnimationStatus.completed
: initial.status == AnimationStatus.reverse;
case HeroFlightDirection.push:
return initial.value == 0.0 && initial.status == AnimationStatus.forward;
}
}()': 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?template=2_bug.yml
When the exception was thrown, this was the stack:
#2 _HeroFlight.start (package:flutter/src/widgets/heroes.dart:657:12)
heroes.dart:657
#3 HeroController._startHeroTransition (package:flutter/src/widgets/heroes.dart:992:60)
heroes.dart:992
#4 HeroController._maybeStartHeroTransition.<anonymous closure> (package:flutter/src/widgets/heroes.dart:914:9)
heroes.dart:914
#5 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1432:15)
binding.dart:1432
#6 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1362:11)
binding.dart:1362
#7 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1203:5)
binding.dart:1203
#8 _invoke (dart:ui/hooks.dart:312:13)
hooks.dart:312
#9 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:399:5)
platform_dispatcher.dart:399
#10 _drawFrame (dart:ui/hooks.dart:283:31)
hooks.dart:283
(elided 2 frames from class _AssertionError)
════════════════════════════════════════════════════════════════════════════════
Plugin name
flutter_onboarding_slider
Describe the bug
Here is my OnBoardingPage with the Slider:
I'm using GoRouter (and GoRouterGenerator). I need to push the SigninRoute on skip and finish.
I receive this error:
then it navigates.
Here are my routes:
Any Idea?
The text was updated successfully, but these errors were encountered: