wobble method
Wraps the widget with a wobble animation.
Example:
Icon(Icons.cake).wobble();
Implementation
Widget wobble({
Duration duration = const Duration(milliseconds: 1000),
double angle = 0.1,
}) => _WobbleWidget(duration: duration, angle: angle, child: this);