Skip to content

MLH-Fellowship/break-your-keyboard

Repository files navigation

break_your_keyboard

A multiplayer game to keep clicking on the keyboard

Changing models

  • In case of modifying models, run flutter pub run build_runner build --delete-conflicting-outputs to generate new serializable model

How to run

  • Run flutter packages get to download pubspec dependencies.
  • Run flutter clean for most of first run errors you may face.
  • Run flutter channel and make sure you are on flutter's beta channel.
  • If you were not on the beta channel flutter
    • Run flutter channel beta
    • Run flutter upgrade
  • Run flutter run to try it live on running emulator or usb connected device.
  • You can target a specific device to run by run flutter devices and getting the id and running flutter run -d <device_id>.
  • Run flutter build apk to generate APK file.
  • Run flutter build ios to package iOS app.