Skip to content

Commit b500a25

Browse files
Enabling multi-segment progress bar with animations and stripes (#226)
1 parent dcc8e30 commit b500a25

13 files changed

Lines changed: 827 additions & 23 deletions

CHANGELOG.md

Lines changed: 57 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,161 @@
11
# [4.2.4]
2+
23
- A lot of fixes.
4+
35
# [4.2.3]
6+
47
- Screenshots added. Thanks FMorschel.
8+
59
# [4.2.2]
10+
611
- This version is for flutter 3.0 >=.
712

813
# [4.2.1]
14+
915
- Add compatibility with lower versions of flutter.
1016

1117
# [4.2.0]
18+
1219
- Flutter 3.0 updated.
1320

1421
# [4.0.1]
22+
1523
- Fixed a bug: 1% progress should be inside. Thanks Gábor.
1624

1725
# [4.0.0]
26+
1827
- [BREAKING CHANGE] now `radius` is a real radius and not diameter. Thanks to `Nipun Shah`.
1928

2029
# [3.5.0]
30+
2131
- `linearStrokeCap` was deprecated. Use `barRadius` instead. Thanks to `martinkong0806`.
2232

2333
# [3.4.0]
34+
2435
- Null safety migration completed.
2536
- Widget Indicator works when using Arc mode on `CircularPercentIndicator`.
2637

2738
# [3.0.1]
39+
2840
- `linearGradientBackgroundColor` was added for `LinearPercentIndicator`. Thanks Jeremiah Parrack.
2941

3042
# [3.3.0-nullsafety.1 - 3.0.0]
43+
3144
- Null safety migration.
3245

3346
# 2.1.9 - 2.1.9+1
47+
3448
- Users can stop `animation` after this was initialize.
3549
- Added Half Arc for `CircularPercentIndicator` , added by Vivek
3650
- Extra height was removed. Thanks Brayan Cantos.
3751

3852
# 2.1.8
53+
3954
- New field was added : `rotateLinearGradient` -> Enable rotation of linear gradient in circular percent indicator. Added by `ecokeco`.
4055

4156
# 2.1.7 - 2.1.7+4
57+
4258
- Added optional `widgetIndicator` for `CircularPercentIndicator` and `LinearPercentIndicator`, it's an indicator displayed at the end of the progress, it only works when the `animation` is `true`. Thanks to Brayan Cantos for the contribution
4359

4460
# 2.1.6
61+
4562
- Added optional `onAnimationEnd` for `CircularPercentIndicator` and `LinearPercentIndicator`, it's a callback when the animation ends. Thanks to Brayan Cantos for the contribution
4663

4764
# 2.1.5
65+
4866
- Added optional `backgroundWidth` for `CircularPercentIndicator`. Thanks to CircuitGuy for the contribution
4967

5068
# 2.1.4
69+
5170
- `restartAnimation` was added to restart the animation when reached the end. Thanks to superciccio for the contribution
5271

5372
# 2.1.3
73+
5474
- Added `StrokeCap` on background. Thanks @mifama
5575

5676
# 2.1.2
77+
5778
- `curve` was added in both indicators.
5879

5980
# 2.1.1
81+
6082
- `LinearPercentIndicator` now can display only part of linear gradient using `clipLinearGradient`.
6183

6284
# 2.1.0
85+
6386
- vertical padding removed from `LinearPercentIndicator`.
6487

6588
# 2.0.1
89+
6690
- `maskFilter` was added for `LinearPercentIndicator` and `CircularPercentIndicator`. Thanks to akdu12 for the contribution
6791

6892
# 2.0.0
93+
6994
- `linearGradient` was added for `LinearPercentIndicator` and `CircularPercentIndicator`.
70-
- `reverse`, `arcType` and `arcBackgroundColor` were added to the `CircularPercentIndicator`.
95+
- `reverse`, `arcType` and `arcBackgroundColor` were added to the `CircularPercentIndicator`.
7196

7297
# 1.0.16
73-
- `width` is optional for `LinearPercentIndicator` widget,
98+
99+
- `width` is optional for `LinearPercentIndicator` widget,
74100

75101
# 1.0.15
102+
76103
- Added `addAutomaticKeepAlive` property to preserve the state of the widget.
77104
- Added `isRTL` for `LinearPercentIndicator` widget.
78105

79106
# 1.0.14
107+
80108
- Fixed bug using animateFromLastPercent. Thanks joelbrostrom
81109

82110
# 1.0.13
111+
83112
- Padding removed from leading and trailing on LinearPercentIndicator, now you can use Expanded or Flexible.
84113
- Fixed animation when refresh the widget with different duration
85114

86115
# 1.0.12
116+
87117
- animateFromLastPercent property was added for LinearPercentIndicator and CircularPercentIndicator
88118

89119
# 1.0.11
120+
90121
- startAngle for CircularPercentIndicator was added
91122

92123
# 1.0.10
93-
- animation update bug fixed. Thanks @Tiagosito
124+
125+
- animation update bug fixed. Thanks @Tiagosito
94126

95127
# 1.0.9
128+
96129
- padding property was added for LinearPercentIndicator
97130

98131
# 1.0.7, 1.0.8
132+
99133
- alignment property was added for LinearPercentIndicator
100134

101135
# 1.0.5, 1.0.6
136+
102137
- fillColor property was added to LinearPercentIndicator
103138

104139
# 1.0.1 - 1.0.4
140+
105141
- Readme updated
106142

107143
# 1.0.0
108-
- Initial release
144+
145+
Initial release of the multi_segment_linear_indicator package.
146+
147+
### Features
148+
149+
- Three independently animated segments
150+
- Customizable colors for each segment
151+
- Optional striped pattern for the middle segment
152+
- Smooth animations with customizable duration and curve
153+
- Configurable border radius
154+
- RTL support
155+
- Flexible sizing and padding options
156+
157+
### Documentation
158+
159+
- Added comprehensive README with usage examples
160+
- Added API documentation
161+
- Added example application

0 commit comments

Comments
 (0)