animateWidgetProgressFill method
Widget
animateWidgetProgressFill(
{ - int delayMs = 0,
- int durationMs = 1000,
- bool repeat = false,
- bool animate = true,
})
Implementation
Widget animateWidgetProgressFill({
int delayMs = 0,
int durationMs = 1000,
bool repeat = false,
bool animate = true,
}) {
if (!animate) return this;
return _baseAnimate(delayMs: delayMs, repeat: repeat)
.fadeIn(duration: 400.ms)
.scaleX(
begin: 0,
end: 1,
alignment: Alignment.centerLeft,
duration: durationMs.ms,
curve: Curves.easeInOut,
);
}