-
Notifications
You must be signed in to change notification settings - Fork 453
Open
Description
The recently added support for currentColor in ThemeData ignores the colors opacity.
For example this will render the icon with full opacity, despite it should be fully invisible:
final icon = svg.fromSvgBytes(iconData, iconKey, theme: SvgTheme(currentColor: Colors.blue.withOpacity(0)));
icon
..scaleCanvasToViewBox(canvas, iconSize)
..clipCanvasToViewBox(canvas)
..draw(canvas, Rect.zero);Metadata
Metadata
Assignees
Labels
No labels