Skip to content

vintage/party_flutter

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

f1ce413

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
September 5, 2019 21:25
May 9, 2019 21:30
ios
September 5, 2019 21:25
lib
October 25, 2019 14:40
September 3, 2019 20:48
May 10, 2019 18:55
August 8, 2018 08:12
March 12, 2019 21:43
September 11, 2019 10:23

Party Flutter

Party Flutter

Join the chat at https://gitter.im/party_flutter/community CircleCI

Mobile party game implemented in Flutter framework. Its been heavily inspired by the Heads Up! game:

  • Get a group of friends (at least 3 players)
  • Start the app
  • The youngest player takes the phone
  • Pick one of the available categories/topics (eg. Animals, TV series, Sport)
  • Place the phone at your forehead, so that other players can see the screen
  • Guess the word displayed at the screen - your friends are here to help you!

Download

Get it on Google Play Get it on the App Store

Preview Video

Preview Video

Screenshots

Screen 1 Screen 2 Screen 3 Screen 4 Screen 5 Screen 6 Screen 7 Screen 8

Adding new language

  1. Add language code to getCodes method in language.dart
  2. Download language flag from here and put it in assets/images/flags/
  3. Make a copy of file intl_messages.arb and translate the sentences (not the ones prefixed by @). See the intl_messages_pl.arb for reference
  4. When the translations are ready - run the Generate translations section
  5. The UI is translated! The only remaining thing is to add own set of categories and questions in assets/data/. Each category consists of:
  • id - unique identifier of category (just make sure it's unique across the file)
  • image - image name for the category which is stored in assets/images/categories/. Feel free to add your own images - should be non-transparent, 400x400, PNG files. Can be downloaded from https://www.pexels.com/ or https://unsplash.com/
  • name - category name in yours language
  • questions - list of available questions - min. 50 per category, but more is better :)
  1. Done, new language added - PRs are more than welcome ❤️

Generate translations

  • flutter pub pub run intl_translation:extract_to_arb --output-dir=lib/l10n lib/localizations.dart
  • flutter pub pub run intl_translation:generate_from_arb --output-dir=lib/l10n --no-use-deferred-loading lib/localizations.dart lib/l10n/intl_*.arb

Resources