-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: flutter test coverage #89
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Closed
yadaniyil
approved these changes
Dec 3, 2022
yadaniyil
added a commit
that referenced
this pull request
Dec 25, 2022
* 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>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add flutter test coverage