# Script to remove hugeicons imports and replace with standard Icons $files = @( "lib\screens\home\feed_sojorn_screen.dart", "lib\screens\profile\profile_screen.dart", "lib\screens\compose\compose_screen.dart", "lib\screens\post\post_detail_screen.dart", "lib\screens\profile\profile_settings_screen.dart", "lib\widgets\reading_post_card.dart", "lib\widgets\post_item.dart", "lib\widgets\post\chain_quote_widget.dart" ) foreach ($file in $files) { if (Test-Path $file) { $content = Get-Content $file -Raw # Remove hugeicons imports $content = $content -replace "import\s+'package:hugeicons/hugeicons\.dart';\r?\n", "" $content = $content -replace "import\s+'package:hugeicons/styles/stroke_rounded\.dart';\r?\n", "" $content = $content -replace "import\s+'package:hugeicons/styles/solid_rounded\.dart';\r?\n", "" # Save the file $content | Set-Content $file -NoNewline Write-Host "Fixed: $file" } } Write-Host "`nDone! Please manually replace HugeIcon/HugeIconsStrokeRounded with Icon/Icons in the affected files."