How do I implement dependency dispose callback behavior in GetX? #1296
Unanswered
OliverRhyme
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Show an example of how you tried to do with onClose (GetxController) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to implement this kind of behavior on GetX where it calls a disposing function whenever it is removed.
I've tried
Get.find
ononClose
but it disposes first the object before having a chance to call theclose()
method on the object.Beta Was this translation helpful? Give feedback.
All reactions