Can you include animations in an action block or in a custom action?

Custom Code

I have a large number of animations that are triggered by a button click. In the action flow editor all the animations take a lot of space in the action flow tree. It would be nice to be able to compartmentalize all the animations into an action block as it is repeated in multiple parts of the action flow tree. Can this be done?

If not, how do you create a custom action that executes all the animations?

Thank you.

What have you tried so far?

Couldn't find a solution in search. Doesn't look like animations can be included in action blocks (error).

"Widget Animation Action by Animate is not supported for Action Blocks."

Couldn't find documentation on how execute animations in a custom action.

Did you check FlutterFlow's Documentation for this topic?
Yes
3
2 replies