Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Flutter

  • Create project: flutter create --project-name [project_name] --org com.negroponzi [project_folder]
  • List existing emulators: flutter emulators
  • Launch iOS simulator: flutter emulators --launch apple_ios_simulator
  • List running devices and emulators: flutter devices
  • Run app on a specific device: flutter run -d [device_id]
  • Add package; flutter pub add provider
  • Run all tests: flutter test
  • Run specific test (regex): flutter test --name="Counter value should.*"
  • Testing Provider