Skip to main content

Flutter Cheatsheet

Create new project

# Create new app with all platforms
flutter create <project_name>
# Only enable some platforms
flutter create <project_name> --platforms=ios,web

Unable to boot the simulator

Base on

  • In settings, search for Storage
  • Click the i icon next to `Developer
  • Delete Xcode cache
  • In terminal run open -a Simulator to open the simulator
  • Right-click on the simulator icon and use the menu to select os and device, e.g. Device -> iOS 17.2 -> iPhone 15