Hi all,
I keep getting this error sporadically, and was wondering if any of you encounter it too ?
It seems to be linked to Flutter, but most likely it has to do with something in FlutterFlow.
Also worth noting : I'm not trying to use any specific hero animation : there are none in my project!
Would appreciate your feedback / help, if any.
โโโก EXCEPTION CAUGHT BY SCHEDULER LIBRARY โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
The following assertion was thrown during a scheduler callback:
'package:flutter/src/widgets/heroes.dart': Failed assertion: line 644 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:644:12)
heroes.dart:644
#3 HeroController._startHeroTransition (package:flutter/src/widgets/heroes.dart:969:60)
heroes.dart:969
#4 HeroController._maybeStartHeroTransition.<anonymous closure> (package:flutter/src/widgets/heroes.dart:891:9)
heroes.dart:891
#5 SchedulerBinding._invokeFrameCallback (package:flutter/src/scheduler/binding.dart:1297:15)
binding.dart:1297
#6 SchedulerBinding.handleDrawFrame (package:flutter/src/scheduler/binding.dart:1236:9)
binding.dart:1236
#7 SchedulerBinding._handleDrawFrame (package:flutter/src/scheduler/binding.dart:1085:5)
binding.dart:1085
#8 _invoke (dart:ui/hooks.dart:170:13)
hooks.dart:170
#9 PlatformDispatcher._drawFrame (dart:ui/platform_dispatcher.dart:401:5)
platform_dispatcher.dart:401
#10 _drawFrame (dart:ui/hooks.dart:140:31)
hooks.dart:140
(elided 2 frames from class _AssertionError)
(elided:2
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ