-
Danylo Yakovlev authored
* 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 <[email protected]> * Fix/update widget tests (#71) * fix: update widget tests * fix: resolve conflicts Co-authored-by: Danylo Yakovlev <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * feat: flutter test coverage (#89) * feat: flutter test coverage * fix: small typos and refactoring * refactor: appearanceDuration renamed to disappearanceFadeAnimationDuration Co-authored-by: Daniyil Yakovlev <[email protected]> * 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]> Co-authored-by: Mykhailo Ponochovnyi <[email protected]> Co-authored-by: sawel24 <[email protected]> Co-authored-by: Vitaliy <[email protected]>
This project is licensed under the MIT License.
Learn more
Loading