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,
}) {
return _WobbleWidget(
duration: duration,
angle: angle,
child: this,
);
}