* Updated createGameView ListBuilder * Added ReorderableListView * Increment build no * Fixed bug with wrong medal icon * change not equal to greater than * Updated bool var * Fixed deletion error * Small translation improvements * Implemented first version of point overview * Visual improvements on table * Added details and sum row * Updated strings * Implemented new strings * Refactoring * Updated graph displayment * Moved new views to statistics section * Added seperator in main menu * Renaming * Updated sign * Updated colors & class name * Removed empty line * Updated round index * Updated types * Added new kamikaze button and bundles navigation functionality * Updated lock icon * Updated button position and design * Removed title row and changed segmendetControl Padding * Refactored logic and added comments * Updated comment * Chaned icon * Added comment * Removed print * Updated colors * Changed var name * Removed unused strings * Added gameMode * Changed creation variable * Updated mode selection * Updated strings * Changed mode order * Implemented default mode selection * Updated initState * Removed print * Removed print * Removed comments * Updated config service * Changed create game view * Changed icon * Updated strings * Updated config * Updated mode selection logic * Deleted getter * Removed not used code * Implemented reset logic for default game mode * Updated to 0.5.0 * Hotfix: Pixel Overflow * Changed the overall return type for gamemodes * Updated documentation * Fixed merge issues * Added Custom button * Updated strings * Updated buttons, implemented animatedOpacity * Keyboard still doesnt works * Fixed keyboard behaviour * Changed keyboard height * Added method getGameSessionById() * Updated gameSession class * id gets added to gameSession class at creation * Cleaned up file * Added docs and dependency * Removed toString * Implemented null safety * Added named parameter * Replaced button with custom button * Updated key * Updated addGameSessionMethod * Update README.md * Added Strings for popup * Implemented popup & confetti * Extracted code to method _playFinishAnimation() * Replaced tenary operator with Visibility Widget * Replaced tenary operator with Visibility Widget * Used variable again * Added delays in constants.dart * Removed confetti button * Updated strings * Removed print * Added dispose for confettiController * Implemented missing constant in code * Updated gameSession logic so more than one player can be winner * Updated strings * Updated winner popup * game names now can have up to 20 chars * Updated strings * Added sized box for visual enhancement * Centered the add player button and made it wider * New created player textfields get automatically focused * Added focus nodes for autofocus and navigation between textfields * Updated version number * Updated game title textfield with focus node and textaction * Added focusnodes to dispose * Update README.md * Fixed bug with no popup shown * Fixed bug with out of range error * Updated listener notification
44 lines
1.3 KiB
Dart
44 lines
1.3 KiB
Dart
import 'package:flutter/cupertino.dart';
|
|
|
|
class CustomTheme {
|
|
static Color white = CupertinoColors.white;
|
|
static Color primaryColor = CupertinoColors.systemGreen;
|
|
static Color backgroundColor = const Color(0xFF101010);
|
|
static Color mainElementBackgroundColor = CupertinoColors.darkBackgroundGray;
|
|
static Color playerTileColor = CupertinoColors.secondaryLabel;
|
|
static Color buttonBackgroundColor = const Color(0xFF202020);
|
|
|
|
// Line Colors for GraphView
|
|
static const Color graphColor1 = Color(0xFFF44336);
|
|
static const Color graphColor2 = Color(0xFF2196F3);
|
|
static const Color graphColor3 = Color(0xFFFFA726);
|
|
static const Color graphColor4 = Color(0xFF9C27B0);
|
|
static final Color graphColor5 = primaryColor;
|
|
|
|
// Colors for PointsView
|
|
static Color pointLossColor = primaryColor;
|
|
static const Color pointGainColor = Color(0xFFF44336);
|
|
|
|
static TextStyle modeTitle = TextStyle(
|
|
color: primaryColor,
|
|
fontSize: 20,
|
|
fontWeight: FontWeight.bold,
|
|
);
|
|
|
|
static const TextStyle modeDescription = TextStyle(
|
|
fontSize: 16,
|
|
);
|
|
|
|
static TextStyle rowTitle = TextStyle(
|
|
fontSize: 20,
|
|
color: primaryColor,
|
|
fontWeight: FontWeight.bold,
|
|
);
|
|
|
|
static TextStyle roundTitle = TextStyle(
|
|
fontSize: 60,
|
|
color: white,
|
|
fontWeight: FontWeight.bold,
|
|
);
|
|
}
|