Flutter

@codify/flutter·Codify official·v1.0.0·Updated yesterday

Build iOS, Android and desktop apps from one codebase. This gets Flutter working on your machine, including the parts `flutter doctor` usually complains about.

0 appliesmacOS · Linux
Apply with CodifyCustomize a copy

Opens the template in the Codify dashboard. Applying doesn't create a setup; customizing makes a private copy you can edit.

Or from your terminal, with the Codify CLI
codify apply @codify/flutter
This template runs 2 scripts on your machine. The Codify CLI shows you the exact command and asks before anything runs. Read the scripts

Configuration

The exact file codify apply uses. Copy it into your own codify.jsonc, or download it.

codify.jsonc60 lines · 1.5 KB
[
{
"type": "homebrew",
"formulae": ["git", "jq"],
"os": ["macOS"]
},
{
"type": "apt",
"install": ["git", "jq", "clang", "cmake", "ninja-build", "pkg-config", "libgtk-3-dev", "liblzma-dev", "libstdc++-12-dev"],
"os": ["linux"],
"distro": ["debian-based"]
},
{
"type": "action",Runs a script · asks first
"name": "flutter-sdk",
"condition": "[ -d \"$HOME/flutter\" ]",
"action": "git clone https://github.com/flutter/flutter.git -b stable \"$HOME/flutter\"",
"dependsOn": ["homebrew", "apt"]
},
{
"type": "android-studio"
},
{
"type": "rbenv",
"rubyVersions": ["3.4.5"],
"global": "3.4.5",
"os": ["macOS"],
"dependsOn": ["homebrew"]
},
{
"type": "action",Runs a script · asks first
"name": "cocoapods",
"condition": "command -v pod &>/dev/null",
"action": "gem install cocoapods",
"os": ["macOS"],
"dependsOn": ["homebrew", "rbenv"]
},
{
"type": "path",
"paths": ["$HOME/flutter/bin"],
"prepend": true,
"dependsOn": ["action.flutter-sdk"]
},
{
"type": "vscode",
"extensions": ["Dart-Code.flutter", "Dart-Code.dart-code"],
"settings": {
"editor.formatOnSave": true,
"dart.flutterSdkPath": "$HOME/flutter",
"[dart]": {
"editor.formatOnSave": true,
"editor.selectionHighlight": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": "off"
}
},
"dependsOn": ["action.flutter-sdk"]
}
]