animateWidgetHoverScale method
- Hover Scale
Implementation
Widget animateWidgetHoverScale({
int durationMs = 300,
bool repeat = true,
bool animate = true,
}) {
if (!animate) return this;
return MouseRegion(
cursor: SystemMouseCursors.click,
child: _baseAnimate(repeat: repeat, reverse: true).scaleXY(
begin: 1.0,
end: 1.03,
duration: durationMs.ms,
curve: Curves.easeInOut,
),
);
}