Added constants
This commit is contained in:
@@ -3,5 +3,20 @@ class Constants {
|
||||
Constants._(); // Private constructor to prevent instantiation
|
||||
|
||||
/// Minimum duration of all app skeletons
|
||||
static Duration minimumSkeletonDuration = const Duration(milliseconds: 250);
|
||||
static const Duration minimumSkeletonDuration = Duration(milliseconds: 250);
|
||||
|
||||
/// Maximum length for player names
|
||||
static const int MAX_PLAYER_NAME_LENGTH = 32;
|
||||
|
||||
/// Maximum length for group names
|
||||
static const int MAX_GROUP_NAME_LENGTH = 32;
|
||||
|
||||
/// Maximum length for match names
|
||||
static const int MAX_MATCH_NAME_LENGTH = 256;
|
||||
|
||||
/// Maximum length for game names
|
||||
static const int MAX_GAME_NAME_LENGTH = 256;
|
||||
|
||||
/// Maximum length for team names
|
||||
static const int MAX_TEAM_NAME_LENGTH = 256;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user