elCaribe app - customization and branding
This commit is contained in:
38
news-app/lib/utils/constant.dart
Normal file
38
news-app/lib/utils/constant.dart
Normal file
@@ -0,0 +1,38 @@
|
||||
//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 }
|
||||
Reference in New Issue
Block a user