Skip to content

error: AnimationController.reverse() called after AnimationController.dispose() #5

@yanashenyang

Description

@yanashenyang

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/animation/animation_controller.dart': Failed assertion: line 519 pos 7: '_ticker != null': AnimationController.reverse() called after AnimationController.dispose()
AnimationController methods should not be used after calling dispose.
#0 _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1 _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2 AnimationController.reverse (package:flutter/src/animation/animation_controller.dart:519:7)
#3 _EasyButtonState._reverse (package:easy_loading_button/easy_button.dart:298:22)
#4 _EasyButtonState._manageLoadingState (package:easy_loading_button/easy_button.dart:249:7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions