32 lines
1.1 KiB
Dart
32 lines
1.1 KiB
Dart
var this_year = DateTime.now().year.toString();
|
|
|
|
class AppConfig {
|
|
static String copyright_text =
|
|
"APP NEGOCIOS" + this_year; //this shows in the splash screen
|
|
static String app_name =
|
|
"APP NEGOCIOS"; //this shows in the splash screen
|
|
static String purchase_code =
|
|
"f0f2e1cc-3250-40c5-bed4-168b74b8ed07"; //enter your purchase code for the app from codecanyon
|
|
|
|
//configure this
|
|
static const bool HTTPS = false;
|
|
|
|
//Default language config
|
|
static String default_language = "en";
|
|
static String mobile_app_code = "en";
|
|
static bool app_language_rtl = false;
|
|
|
|
//configure this
|
|
static const DOMAIN_PATH =
|
|
"devs.lapieza.net/sellerapp"; //inside a folder
|
|
|
|
//do not configure these below
|
|
static const String API_ENDPATH = "api/v2";
|
|
static const String PUBLIC_FOLDER = "public";
|
|
static const String PROTOCOL = HTTPS ? "https://" : "http://";
|
|
static const String SELLER_PREFIX = "seller";
|
|
static const String RAW_BASE_URL = "${PROTOCOL}${DOMAIN_PATH}";
|
|
static const String BASE_URL = "${RAW_BASE_URL}/${API_ENDPATH}";
|
|
static const String BASE_URL_WITH_PREFIX = "${BASE_URL}/${SELLER_PREFIX}";
|
|
}
|