How to create custom functions that work with Duration

Sure, here's an improved version of your message:

---

Hey everyone,

I'm facing some challenges with executing animations in Flutter Flow due to the absence of support for creating custom functions that can handle Duration values. Has anyone encountered a similar issue, and if so, do you have any suggestions or solutions for how to work around this limitation?

Your help would be greatly appreciated. Thanks in advance!