flutter icon indicating copy to clipboard operation
flutter copied to clipboard

Error to build app phosphor_flutter-2.0.0

Open Ngochiendev opened this issue 1 year ago • 3 comments

Ảnh màn hình 2023-09-20 lúc 14 14 01

Ngochiendev avatar Sep 20 '23 07:09 Ngochiendev

If I use --no-tree-shake-icons then I think it is not an effective solution. I want a radical solution

Ngochiendev avatar Sep 20 '23 07:09 Ngochiendev

I have the same issue. Do you fixed it @Ngochiendev ?

EtcGonza avatar Oct 03 '23 16:10 EtcGonza

I have the same issue. Do you fixed it @Ngochiendev ?

Temporary solution is to use --no-tree-shake-icons

Ngochiendev avatar Oct 04 '23 12:10 Ngochiendev

An alternative is now available in 2.1.0 -- you can import each weight explicitly (e.g. PhosphorIconsBold) which will allow tree-shaking of the icons used from that font.

rektdeckard avatar May 10 '24 07:05 rektdeckard