offset property
Direction and logical-pixel strength of the shake.
Use one non-zero coordinate for a horizontal or vertical shake, or both coordinates for a diagonal shake. The effect always starts and finishes at the child's layout position.
Implementation
final Offset offset;