flutter-terminal-cheat-sheet

Flutter Terminal Cheat Sheet

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "flutter-terminal-cheat-sheet" with this command: npx skills add rodydavis/skills/rodydavis-skills-flutter-terminal-cheat-sheet

Flutter Terminal Cheat Sheet

Run Flutter web with SKIA

flutter run -d web --release --dart-define=FLUTTER_WEB_USE_SKIA=true

Run Flutter web with Canvas Kit

flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_EXPERIMENTAL_CANVAS_TEXT=true

Build your Flutter web app to Github Pages to the docs folder

flutter build web && rm -rf ./docs && mkdir ./docs && cp -a ./build/web/. ./docs/

Clean rebuild CocoaPods

cd ios && pod deintegrate && pod cache clean —all && pod install && cd ..

Sometimes with firebase you need to run: pod update Firebase

Create Dart package with Example

flutter create -t plugin . && flutter create -i swift -a kotlin --androidx example

Watch Build Files

flutter packages pub run build_runner watch -—delete-conflicting-outputs

Generate Build Files

flutter packages pub run build_runner build -—delete-conflicting-outputs

Build Bug Report

flutter run —bug-report

Flutter generate test coverage

flutter test --coverage && genhtml -o coverage coverage/lcov.info

Rebuild Flutter Cache

flutter pub pub cache repair

Clean every flutter project

find . -name "pubspec.yaml" -exec $SHELL -c ' echo "Done. Cleaning all projects." for i in "$@" ; do DIR=$(dirname "${i}") echo "Cleaning ${DIR}..." (cd "$DIR" && flutter clean >/dev/null 2>&1) done echo "DONE!" ' {} +

Conditional Export/Import

export 'unsupported.dart' if (dart.library.html) 'web.dart' if (dart.library.io) 'mobile.dart';

Kill Dart Running

killall -9 dart

Flutter scripts 

Add all the scripts to your pubspec.yaml  with flutter_scripts.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

install-flutter-from-git

No summary provided by upstream source.

Repository SourceNeeds Review
General

how-to-build-a-native-cross-platform-project-with-flutter

No summary provided by upstream source.

Repository SourceNeeds Review
General

how-to-build-a-webrtc-signal-server-with-pocketbase

No summary provided by upstream source.

Repository SourceNeeds Review