mirrored_repositories/chatpool
import 'package:flutter/material.dart';

///Strings
///LoginScreen
const String GOOGLE_LOGIN_BUTTON = 'login with Google';
///MainScreen
const String MAIN_SCREEN_APP_BAR_TITLE = 'main screen';
///Storage
const String USERS_COLLECTION = 'users';
const String USER_ABOUT_FIELD = 'about';
const String USER_DISPLAY_NAME = 'display_name';
const String USER_ID = 'id';
const String USER_PHOTO_URI = 'photo_uri';
const String USER_EMAIL = 'email';
const String USER_FRIENDS = 'friends';
const String USER_TOKEN = 'token';
const String USER_STATUS = 'user_status';
const String STATUS_ONLINE = 'online';
const String STATUS_OFFLINE = 'offline';
const String FRIENDS_COLLECTION = 'friends';
const String FRIEND_ID = 'friend_id';
const String FRIEND_TIME_ADDED = 'time_added';
const String FRIEND_LATEST_MESSAGE = 'latest_message';
///SharedPreferences
const String SHARED_PREFERENCES_USER_ID = "id";
const String SHARED_PREFERENCES_USER_PHOTO = 'photo';
const String SHARED_PREFERENCES_USER_DISPLAY_NAME = 'name';
const String SHARED_PREFERENCES_USER_ABOUT = 'about';

///Chat
const String MESSAGES_COLLECTION = 'messages';
const String TEXT_FIELD_HINT = 'type a message';
const String MESSAGE_ID_TO = 'idTo';
const String MESSAGE_ID_FROM = 'idFrom';
const String MESSAGE_TIMESTAMP = 'timestamp';
const String MESSAGE_CONTENT = 'content';
const String MESSAGE_TYPE = 'type';
const String MESSAGE_TYPE_PHOTO = 'photo';
const String MESSAGE_TYPE_STICKER = 'sticker';
const String MESSAGE_TYPE_TEXT = 'text';


///Doubles
///Chat
const double APP_BAR_IMAGE_WIDTH = 40.0;
const double APP_BAR_IMAGE_HEIGHT = 40.0;
const double APP_BAR_IMAGE_RADIUS = 25.0;
const double MESSAGE_RADIUS = 6.0;
const double MESSAGE_PADDING = 4.0;
const double MESSAGE_MARGIN = 4.0;
const double MESSAGE_WIDTH = 220.0;
const double MESSAGE_FONT_SIZE = 16.0;
const double MESSAGE_DATE_FONT_SIZE = 9.0;
const double MESSAGE_DATE_MARGIN = 2.0;
const double INPUT_TEXT_FIELD_RADIUS = 20.0;
const double INPUT_TEXT_FIELD_PADDING = 10.0;
const double SEND_BUTTON_RADIUS = 100.0;
const double SEND_BUTTON_PADDING = 8.0;
const double SEND_BUTTON_MARGIN = 4.0;

///MainScreen
const MAINSCREEN_FRIEND_PHOTO_WIDTH = 45.0;
const MAINSCREEN_FRIEND_PHOTO_HEIGHT = 45.0;
const MAINSCREEN_FRIEND_PHOTO_RADIUS = 25.0;
const MAINSCREEN_FRIEND_PHOTO_MARGIN = 2.0;

///Friends
const FRIENDS_PHOTO_WIDTH = 40.0;
const FRIENDS_PHOTO_HEIGHT = 40.0;
const FRIENDS_PHOTO_RADIUS = 25.0;
const FRIENDS_PHOTO_MARGIN = 2.0;
const ADD_FRIEND_DIALOG_PHOTO_RADIUS = 120.0;

///Colors
///Chat
const Color MESSAGE_FONT_COLOR = Colors.white;
const Color MESSAGE_BACKGROUND_COLOR = Colors.lightBlue;
const Color MESSAGE_DATE_FONT_COLOR = Colors.white;
const Color INPUT_TEXT_FIELD_BACKGROUND_COLOR = Colors.lightBlue;
const Color SEND_BUTTON_BACKGROUND_COLOR = Colors.green;
const Color CHAT_SCREEN_BACKGROUND = Colors.white;
const Color PICK_BUTTON_BACKGROUND_COLOR = Colors.yellow;
const Color PICK_BUTTON_ICON_COLOR = Colors.white;
const Color SEND_BUTTON_ICON_COLOR = Colors.white;
const Color INPUT_TEXT_FIELD_HINT_COLOR = Colors.white;

///Links
const String USER_IMAGE_PLACE_HOLDER = 'https://upload.wikimedia.org/wikipedia/commons/8/89/Portrait_Placeholder.png';