rubber
rubber copied to clipboard
Got error when build the widget tree
Describe the bug
flutter: ══╡ EXCEPTION CAUGHT BY SCHEDULER LIBRARY ╞═════════════════════════════════════════════════════════
flutter: The following assertion was thrown during a scheduler callback:
flutter: AnimationController.animateTo() called with no explicit Duration and no default Duration.
flutter: Either the "duration" argument to the animateTo() method should be provided, or the "duration"
flutter: property should be set, either in the constructor or later, before calling the animateTo() function.
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #0 RubberAnimationController._animateToInternal.
To Reproduce Steps to reproduce the behavior:
void initState() {
_controller = RubberAnimationController(
halfBoundValue: AnimationControllerValue(percentage: 0.5),
vsync: this,
);
super.initState();
}
**Smartphone (please complete the following information):**
- Device: iPhoneXR Simulator
**Additional context**
Add any other context about the problem here.
This should be now fixed, please confirm.