animated_progress 1.0.1
animated_progress: ^1.0.1 copied to clipboard
A beautifully animated progress library for Flutter — smooth linear & circular progress bars with gradients, spinning, value transitions, and programmatic control.
Changelog #
1.0.1 #
- Fixed:
LinearProgressno longer crashes with infinite width assertion when placed inside a card or constrained layout (replaceddouble.infinity * fractionwithFractionallySizedBox+Positioned.fill). - Fixed:
LinearProgressno longer throws!semantics.parentDataDirtyassertion (replacedAnimatedBuilderinsidePositionedwith asetStatelistener onAnimationController).
1.0.0 #
- Breaking: Replaced
AnimatedProgress().circular()with a declarativeCircularProgress(...)widget. - Breaking: Replaced
AnimatedProgress().linear()with a declarativeLinearProgress(...)widget. - Breaking: Renamed parameters for consistency (
valueWidth→strokeWidth,secondaryColor→trackColor, etc.). - Added smooth value transitions via
AnimationControllerwith configurabledurationandcurve. - Added
ProgressControllerfor programmatic play/pause control. - Added
valueGradientandbackgroundGradientfor gradient-filled arcs and backgrounds. - Added
CustomPainter-based rendering for gradient progress arcs. - Added
spinningandreverseSpinfor continuous circular rotation. - Added
strokeCapcustomization for circular progress. - Added
childwidget support in the center of circular progress. - Added
onCompletedcallback for animations. - Improved
LinearProgresswith color animation, gradient support, and proper animation lifecycle. - Added comprehensive widget tests.
- Cleaned up code structure with proper separation of concerns (
lib/src/).