first commit

This commit is contained in:
ytc1012
2025-11-22 18:17:35 +08:00
commit d427916c6a
169 changed files with 15241 additions and 0 deletions

16
fix_const.sh Normal file
View File

@@ -0,0 +1,16 @@
# Font Optimization - Quick Fix Script
# This script removes 'const' from Text widgets that use AppTextStyles
# because Google Fonts returns non-const TextStyle objects
cd f:\cursor-auto\focusBuddy\lib\screens
# Fix remaining files with sed-like pattern (pseudo code)
# const Text(...style: AppTextStyles...) -> Text(...style: AppTextStyles...)
# const Padding(...child: Text(...style: AppTextStyles...)) -> Padding(...child: Text(...style: AppTextStyles...))
echo "Manual fixes needed for:"
echo "- settings_screen.dart lines 63, 84, 100, 251, 276"
echo "- complete_screen.dart line 46"
echo ""
echo "Quick fix: Remove 'const' keyword before Text/Padding widgets that use AppTextStyles"