# Normalize all text files to LF line endings * text=auto eol=lf # Treat Dart, YAML, XML, Swift, and other source files as text *.dart text *.yaml text *.yml text *.xml text *.swift text *.java text *.kt text *.gradle text *.properties text *.json text *.html text *.css text *.js text *.ts text *.md text *.txt text # Flutter platform-specific files *.pbxproj text *.xcconfig text *.cmake text *.cc text *.h text # Binary files (no line ending normalization) *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary *.ttf binary *.otf binary *.mp3 binary *.mp4 binary *.zip binary # Lock files and build artifacts pubspec.lock text *.lock text *.log text