animateWidgetFloatUp method
- Float Up/Down
Implementation
Widget animateWidgetFloatUp({
int delayMs = 0,
int durationMs = 2000,
bool repeat = true,
bool animate = true,
}) {
if (!animate) return this;
return _baseAnimate(delayMs: delayMs, repeat: repeat, reverse: true).slideY(
begin: 0,
end: -0.03,
duration: durationMs.ms,
curve: Curves.easeInOut,
);
}