Back to Ohmyzsh

README

plugins/flutter/README.md

latest2.0 KB
Original Source

Flutter plugin

The Flutter plugin provides completion and useful aliases

To use it, add flutter to the plugins array of your zshrc file:

zsh
plugins=(... flutter)

Aliases

AliasCommandDescription
flflutterShorthand for flutter command
flattachflutter attachAttaches flutter to a running flutter application with enabled observatory
flbflutter buildBuild flutter application
flchnlflutter channelSwitches flutter channel (requires input of desired channel)
flcflutter cleanCleans flutter project
fldvcsflutter devicesList connected devices (if any)
fldocflutter doctorRuns flutter doctor
flpubflutter pubShorthand for flutter pub command
flgetflutter pub getInstalls dependencies
flrflutter runRuns flutter app
flrdflutter run --debugRuns flutter app in debug mode (default mode)
flrpflutter run --profileRuns flutter app in profile mode
flrrflutter run --releaseRuns flutter app in release mode
flupgrdflutter upgradeUpgrades flutter version depending on the current channel