Commit a74a687
feat: badges 3.0.0-beta.1 (#95)
* Add onTap, update to 2.0.4
* Update CHANGELOG.md
* Add widget test for badge
* fix: change widget tests for badges
* fix: add onTap to badge without child widget,
add widget tests for onTap badge
* Big refactoring and example change
* fix: migrate from pedantic lint to flutter lints latest version
* refactor: refactor code for flutter lints
* feat: add duration of the appearance Badge (#70)
* feat: add duration of the appearance Badge
* fix: changes duration value AnimatedOpacity to new parameter appearanceDuration
* Update lib/src/badge.dart
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* Fix/update widget tests (#71)
* fix: update widget tests
* fix: resolve conflicts
Co-authored-by: Danylo Yakovlev <danny.yakovlev@gmail.com>
* feat: add unit tests for calculate methods (#73)
* feat: add loop of the animation badge (#72)
* feat: add loop of the animation badge
* fix: fix looping animation with adding correct duration
* fix: change loop animation from fade out to fade-in-fade out
* fix: add a variable for controls curve of the animation
* fix: add new variable for control curve slide animation and fade animation
* fix: add named constructor for looped animation Badge
* fix: add calling private constructor from public
* fix: rollback last commit
* fix: add calling private constructor from public
* fix: change animation for looped Badge
* fix: remove unnecessary code
* fix: smooth stopping looped animation
* refactor: BadgeStyle introduced
* refactor: BadgeAnimation introduced
* feat: add rotation and size animation types
* feat: add bouncing animation for arrow in HumanAvatar badge
* feat: more customisation for badge animations
* refactor: remove commented code
Co-authored-by: Danylo Yakovlev <danny.yakovlev@gmail.com>
* fix: add new color changing animation (#76)
* fix: add new color changing animation
* feat: new params for badge color animation duration and curve
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* feat: Twitter style badge shape (#80)
* feat: add custom drawing Badge shapes
* fix: add border for custom drawing shapes
* refactor: delete unnecessary code and rename files
* fix: add new line painter for custom shape
* refactor : refactor painting border in line painter
* fix: resolve merge conflicts and create examples of sun Badge
* feat: add gradient for badge border
* refactor: refactor code
* refactor: remove unnecessary import
* fix(custom shape): Fix painting line painter
* feat: Twitter account widget in example app
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* feat: GitHub Actions test coverage (#88)
* feat: VeryGoodCoverage added to Github Actions workflow
* feat: add coverage to flutter test command
* feat: set min coverage to 35 to merge the PR and update the coverage later
* feat: add instagram badge (#87)
* feat: add instagram badge
* refactor: name changes
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* feat: add appearance disappearance scale animation (#82)
* feat:add appearance or disappearance of the scale animation
* refactor: format code
* fix: fix disappearance rotation animation
* refactor: remove print
* feat: Remove Tween for scale animation and add ability to add curve to scale animation
* fix: Change disappearance animation
* fix: change instagram appearance animation
* fix: change animation with duration zero
* fix: resolve merge conflicts
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* feat: flutter test coverage (#89)
* feat: flutter test coverage
* fix: small typos and refactoring
* refactor: appearanceDuration renamed to disappearanceFadeAnimationDuration
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* fix: appearance bug animation (#90)
* fix: change appearance animation
* fix: change animatedOpacity on animatedBuilder
* fix: add parameter for fade animation enabled
* fix: remove print
* feat: add integration test for badges and badge animations (#91)
* feat: add integration test for badges and badge animations
* fix: resolve git code quality errors
* fix: change integration tests
* fix: replace TestScreen on HomeScreen
* fix: rename integration test
* fix: format code
* fix: integration tests run configuration
* fix: change the opacity calculation for the widget
* fix: resolve git errors
* fix: add tests for badges with different duration
* fix: add tests for animation duration
* refactor: tests
* tests: Add animation duration test, WIP
* fix: add tests for different animations
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* fix: change badge animation and tests (#93)
* fix: add new parameters to control badge animations add new widget tests for badge, remove unnecessary badge parameters
* fix: resolve github Actions errors with tests
* Slight refactroing
Co-authored-by: Daniyil Yakovlev <danny.yakovlev@gmail.com>
* docs: readme (#94)
* readme: showcase gif
* readme update
* Add readme header image
* Update readme
* Update showcase gif
* Badge animations gif added
* docs: badge shapes preview
* fix: readme typo
* readme: change preview png and gif
* docs: migration_guide
* fix migration guide size
* Refactoring
* Add pub.dev preview image
* Remove old code
* License update
* Add some badges to readme
* Version, changelog and readme update
* Fix tests
Co-authored-by: M-ixai-L <mponochovniy@gmail.com>
Co-authored-by: Mykhailo Ponochovnyi <92673427+M-ixai-L@users.noreply.github.com>
Co-authored-by: sawel24 <sawel.gnidenko@gmail.com>
Co-authored-by: Vitaliy <82770717+sawel24@users.noreply.github.com>1 parent b5dac9e commit a74a687
File tree
100 files changed
+5703
-1128
lines changed- .github/workflows
- coverage
- example
- android
- app
- src
- debug
- main
- kotlin/com/example/example
- res
- drawable-v21
- values-night
- values
- profile
- gradle/wrapper
- assets
- coverage
- ios
- Flutter
- Runner.xcodeproj
- Runner.xcworkspace
- Runner
- lib
- windows
- flutter
- runner
- resources
- images
- lib
- src
- painters
- utils
- test
- badge_animations_tests
- utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
100 files changed
+5703
-1128
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
1 | 10 | | |
2 | 11 | | |
3 | 12 | | |
4 | 13 | | |
5 | | - | |
| 14 | + | |
6 | 15 | | |
7 | 16 | | |
8 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments