-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
Remove default SvgTheme
argument preventing DefaultSvgTheme
works correctly
#485
Conversation
The default SvgTheme argument prevents `DefaultSvgTheme` provider works correctly. This should be null and works as passthrough behavior
SvgTheme
argument preventing DefaultSvgTheme
works correctly
Thanks for the contribution, could you also add tests indicate that |
@AlexV525 Do you mean we should add I added test at example project. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #485 +/- ##
=======================================
Coverage 98.35% 98.35%
=======================================
Files 21 21
Lines 730 730
=======================================
Hits 718 718
Misses 12 12 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The fix looks good so far!
Remain only `flutter_test`.
The default SvgTheme argument prevents
DefaultSvgTheme
provider works correctly. This should be null and works as passthrough behaviorWhat does this change?
Remove default
SvgTheme
from svg generatorFixes #484 🎯
Type of change
Please delete options that are not relevant.
Checklist:
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
melos run test
)melos run format
to automatically apply formatting)Result
I can confirm that it works after patch this.