You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same image is provided by the library when you change only the color property. This is because color is incorrectly not part of the == (equals) method of SvgImageKey.
This leads to bugs such as the provider not providing an updated image when your theme updates (such as when enabling dark/light mode) and your image only changes the svg's applied color. For example:
The same image is provided by the library when you change only the
color
property. This is becausecolor
is incorrectly not part of the==
(equals) method ofSvgImageKey
.flutter_svg_provider/lib/flutter_svg_provider.dart
Line 188 in fd32f3c
This leads to bugs such as the provider not providing an updated image when your theme updates (such as when enabling dark/light mode) and your image only changes the svg's applied color. For example:
The text was updated successfully, but these errors were encountered: