Files
elcaribe/news-app/lib/utils/constant.dart

39 lines
1.0 KiB
Dart

//Please add your admin panel url here and make sure you do not add '/' at the end of the url
const String baseUrl = "https://news.ajsmartsolutions.space";
const String databaseUrl = "$baseUrl/api/"; //Do not change
const String shareNavigationWebUrl = "https://newspaper.ajsmartsolutions.space"; //with http:// OR https://
const int limitOfSectionsData = 5;
const int limitOfAPIData = 10;
const int limitOfStyle1 = 3;
const int limitOfAllOtherStyle = 20;
//Facebook Login enable/disable
const bool fblogInEnabled = false;
//set value for survey show after news data
const int surveyShow = 4;
//set value for native ads show after news data
const int nativeAdsIndex = 3;
//set value for interstitial ads show after news data
const int interstitialAdsIndex = 2;
//set value for reward ads show after news data
const int rewardAdsIndex = 4;
const String appName = 'elCaribe';
enum VideoViewType { normal, page }
enum ContentType { youtube, uploaded, live }
enum AuthorStatus { approved, pending, rejected }
enum AuthorLayoutType { list, grid }