flutter_shimmer
flutter_shimmer copied to clipboard
Feature/shimmer presentation state
Start to review this pull request after adopting https://github.com/hnvn/flutter_shimmer/pull/13
Idea behind this PR is adopt ShimmerState. With ShimmerState we can support multiple states of Shimmer Widget. For example in case of my App. I need to pause shimmer animation in some point. After completely return shimmer effect and simply draw child instead.
Important: I 've tested it manually. Double check pls.🙏🏻
I think my solution can be combined with solution in. https://github.com/hnvn/flutter_shimmer/pull/12
Sorry for late replay, I am too busy with other repositories, I will try to look at this feature at the weekend
Please add tests considering each state of the shimmer and check with expect
Please add tests considering each state of the shimmer and check with expect
Ok. Going to add tests.
Please add tests considering each state of the shimmer and check with expect
Added some tests in latest PR. Could you take a look at what do you think?
Also, make some changes and introduce an animation controller provider. To make AnimationController testable.
Please add tests considering each state of the shimmer and check with expect
Added some tests in latest PR. Could you take a look at what do you think?
Looks good to me. We must wait for @hnvn