Dynamic material instance animation

Hi,
I want to “Set Scalar Parameter Value on Materials” with animation in Common Activatable Widget.
I tried to use Timeline but it seems like it doesnt work on widgets.