can i use WidgetsBindingObserver class with flutterflow?

I am building a Flutterflow application. I want to send an API call (post request) to my API server upon exiting the app. From the community, someone says I can use WidgetsBindingObserver. How can I integrate this class into the Flutterflow application? If so, what are some steps to integrate this?

1
2 replies