This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Get all staged files | |
| STAGED_FILES=$(git diff --cached --name-only --diff-filter=ACM) | |
| # Filter for just the Dart files | |
| DART_FILES=$(echo "$STAGED_FILES" | grep -E "\\.dart$") | |
| # Check if Dart is installed before proceeding | |
| if ! command -v dart &> /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update Gradle, Java and other Android project settings in a Flutter project | |
| # See: https://gradle.org/releases/ | |
| GRADLE_VERSION="8.13" | |
| # Build errors often show the required Java version | |
| JAVA_VERSION="17" | |
| # See: https://developer.android.com/ndk/downloads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Update Gradle, Java and other Android project settings in a Flutter project | |
| # See: https://gradle.org/releases/ | |
| DESIRED_GRADLE_VERSION="8.9" | |
| # Build errors often show the required Java version | |
| DESIRED_JAVA_VERSION="17" | |
| # See: https://developer.android.com/ndk/downloads | |
| DESIRED_NDK_VERSION="27.0.12077973" | |
| # The minimum Android SDK version |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # To run, open PowerShell and execute: .\flutter_cleaner.ps1 | |
| Write-Host "Looking for projects... (may take a while)" | |
| Get-ChildItem -Path . -Filter pubspec.yaml -Recurse -File | ForEach-Object { | |
| Write-Host "Cleaning all projects..." | |
| $dir = Split-Path -Parent $_.FullName | |
| Write-Host "Cleaning ${dir}..." | |
| Set-Location -Path $dir | |
| flutter clean | Out-Null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |