Open No1Ks opened 1 year ago
Вы смогли найти ответ, как исправить подобный баг?
Only force disable impeller works for me.. w8ing for package to update
I have this problem using SVGs with flutter for web with the html renderer. The SVG in question is exported from Figma.
I have this same issue trying to rending Google Cloud SVGs. I clean with usvg to remove the styling (which isn't supported). But the masking prevents 3 lines from drawing
<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="luminosity-noclip" x="4.64" y="4.19" width="14.73" height="12.76" filterUnits="userSpaceOnUse">
<feFlood color-interpolation-filters="sRGB" flood-color="#ffffff" flood-opacity="1" result="bg"/>
<feBlend color-interpolation-filters="sRGB" in="SourceGraphic" in2="bg" mode="normal" result="result2"/>
</filter>
<mask id="mask" maskUnits="userSpaceOnUse" x="4.64" y="4.19" width="14.73" height="12.76">
<g filter="url(#luminosity-noclip)">
<path fill="#000000" stroke="none" d="M 15.58 12.23 C 15.58 14.207179 13.9771805 15.809999 12 15.809999 C 10.02282 15.809999 8.42 14.207179 8.42 12.23 C 8.42 10.25282 10.02282 8.65 12 8.65 C 13.9771805 8.65 15.58 10.25282 15.58 12.23 Z"/>
</g>
</mask>
</defs>
<g>
<path fill="#669df6" stroke="none" d="M 20.689999 8.21 C 20.689999 9.159929 19.91993 9.93 18.97 9.93 C 18.02007 9.93 17.25 9.159929 17.25 8.21 C 17.25 7.2600703 18.02007 6.49 18.97 6.49 C 19.91993 6.49 20.689999 7.2600703 20.689999 8.21 Z"/>
<path fill="#669df6" stroke="none" d="M 6.75 8.21 C 6.75 9.15993 5.9799304 9.93 5.03 9.93 C 4.0800705 9.93 3.31 9.15993 3.3100004 8.21 C 3.31 7.2600703 4.0800705 6.49 5.03 6.49 C 5.9799304 6.49 6.75 7.2600703 6.75 8.21 Z"/>
<path fill="#669df6" stroke="none" d="M 13.72 20.28 C 13.72 21.22993 12.949929 22 12 22 C 11.050071 22 10.28 21.22993 10.28 20.28 C 10.28 19.33007 11.050071 18.560001 12 18.560001 C 12.949929 18.560001 13.72 19.33007 13.72 20.28 Z"/>
<g mask="url(#mask)">
<g transform="matrix(0.5 -0.87 0.87 0.5 -4.59 20.53)">
<path fill="#4285f4" stroke="none" d="M 14.69 10.22 L 16.279999 10.22 L 16.279999 18.26 L 14.69 18.26 Z"/>
</g>
<g transform="matrix(0.8660254 -0.5 0.5 0.8660254 -5.98 6.17)">
<path fill="#4285f4" stroke="none" d="M 4.49 13.45 L 12.53 13.45 L 12.53 15.04 L 4.49 15.04 Z"/>
</g>
<path fill="#4285f4" stroke="none" d="M 11.2 4.19 L 12.789999 4.19 L 12.789999 12.23 L 11.2 12.23 Z"/>
</g>
<path fill="#aecbfa" stroke="none" d="M 14.78 12.23 C 14.78 13.765351 13.535353 15.009999 12 15.009999 C 10.464648 15.009999 9.22 13.765351 9.22 12.23 C 9.22 10.694648 10.464648 9.45 12 9.45 C 13.535353 9.45 14.78 10.694648 14.78 12.23 Z"/>
<path fill="#aecbfa" stroke="none" d="M 7.22 16.25 C 7.2200007 17.459503 6.239504 18.44 5.03 18.44 C 3.8204963 18.44 2.84 17.459503 2.84 16.25 C 2.84 15.040495 3.8204963 14.06 5.03 14.06 C 6.239504 14.06 7.2200007 15.040495 7.22 16.25 Z"/>
<path fill="#aecbfa" stroke="none" d="M 21.16 16.25 C 21.16 16.830824 20.929268 17.38786 20.518564 17.798565 C 20.107859 18.209269 19.550823 18.44 18.97 18.44 C 18.389175 18.44 17.83214 18.209269 17.421434 17.798565 C 17.01073 17.38786 16.779999 16.830824 16.779999 16.25 C 16.779999 15.669176 17.01073 15.112141 17.421434 14.701436 C 17.83214 14.29073 18.389175 14.06 18.97 14.06 C 19.550823 14.06 20.107859 14.29073 20.518564 14.701436 C 20.929268 15.112141 21.16 15.669176 21.16 16.25 Z"/>
<path fill="#aecbfa" stroke="none" d="M 14.190001 4.19 C 14.190001 5.399504 13.209504 6.3800006 12 6.38 C 10.790496 6.3800006 9.809999 5.399504 9.809999 4.19 C 9.809999 2.9804964 10.790496 1.9999999 12 2 C 13.209504 1.9999999 14.190001 2.9804964 14.190001 4.19 Z"/>
</g>
</svg>
The original SVG can be found here: https://gcpicons.com/icons/pubsub
any updates on this?
Expected:
Usage: