- Added clipRotatedLinearGradient param, thanks kamil-matula
- Enabling multi-segment progress bar with animations and stripes, thanks naseerahmedaziz
- A lot of fixes.
- A lot of fixes.
- Screenshots added. Thanks FMorschel.
- This version is for flutter 3.0 >=.
- Add compatibility with lower versions of flutter.
- Flutter 3.0 updated.
- Fixed a bug: 1% progress should be inside. Thanks Gábor.
- [BREAKING CHANGE] now
radiusis a real radius and not diameter. Thanks toNipun Shah.
linearStrokeCapwas deprecated. UsebarRadiusinstead. Thanks tomartinkong0806.
- Null safety migration completed.
- Widget Indicator works when using Arc mode on
CircularPercentIndicator.
linearGradientBackgroundColorwas added forLinearPercentIndicator. Thanks Jeremiah Parrack.
- Null safety migration.
- Users can stop
animationafter this was initialize. - Added Half Arc for
CircularPercentIndicator, added by Vivek - Extra height was removed. Thanks Brayan Cantos.
- New field was added :
rotateLinearGradient-> Enable rotation of linear gradient in circular percent indicator. Added byecokeco.
- Added optional
widgetIndicatorforCircularPercentIndicatorandLinearPercentIndicator, it's an indicator displayed at the end of the progress, it only works when theanimationistrue. Thanks to Brayan Cantos for the contribution
- Added optional
onAnimationEndforCircularPercentIndicatorandLinearPercentIndicator, it's a callback when the animation ends. Thanks to Brayan Cantos for the contribution
- Added optional
backgroundWidthforCircularPercentIndicator. Thanks to CircuitGuy for the contribution
restartAnimationwas added to restart the animation when reached the end. Thanks to superciccio for the contribution
- Added
StrokeCapon background. Thanks @mifama
curvewas added in both indicators.
LinearPercentIndicatornow can display only part of linear gradient usingclipLinearGradient.
- vertical padding removed from
LinearPercentIndicator.
maskFilterwas added forLinearPercentIndicatorandCircularPercentIndicator. Thanks to akdu12 for the contribution
linearGradientwas added forLinearPercentIndicatorandCircularPercentIndicator.reverse,arcTypeandarcBackgroundColorwere added to theCircularPercentIndicator.
widthis optional forLinearPercentIndicatorwidget,
- Added
addAutomaticKeepAliveproperty to preserve the state of the widget. - Added
isRTLforLinearPercentIndicatorwidget.
- Fixed bug using animateFromLastPercent. Thanks joelbrostrom
- Padding removed from leading and trailing on LinearPercentIndicator, now you can use Expanded or Flexible.
- Fixed animation when refresh the widget with different duration
- animateFromLastPercent property was added for LinearPercentIndicator and CircularPercentIndicator
- startAngle for CircularPercentIndicator was added
- animation update bug fixed. Thanks @Tiagosito
- padding property was added for LinearPercentIndicator
- alignment property was added for LinearPercentIndicator
- fillColor property was added to LinearPercentIndicator
- Readme updated
Initial release of the multi_segment_linear_indicator package.
- Three independently animated segments
- Customizable colors for each segment
- Optional striped pattern for the middle segment
- Smooth animations with customizable duration and curve
- Configurable border radius
- RTL support
- Flexible sizing and padding options
- Added comprehensive README with usage examples
- Added API documentation
- Added example application