AppConfig constructor
AppConfig({
- String indonesiaLocale = 'id_ID',
- String? urlAPK = 'https://www.example.com/apk/apk.apk',
- String? defaultImageNetwork = 'https://homepages.cae.wisc.edu/~ece533/images/airplane.png',
- String? urlImageAsset = 'assets/images',
- String? nameLogoAsset = 'logo_transparent.png',
- String? baseAPIURL = 'https://www.example.com',
- String? baseImageURL = 'https://www.example.com/images',
- String? tokenFirebase = 'exampletoken',
- String fullPathImageAsset = '',
- Map<
String, String> ? headersAPI = const {'Content-Type' : 'application/x-www-form-urlencoded'},
Implementation
AppConfig({
this.indonesiaLocale = 'id_ID',
this.urlAPK = 'https://www.example.com/apk/apk.apk',
this.defaultImageNetwork = 'https://homepages.cae.wisc.edu/~ece533/images/airplane.png',
this.urlImageAsset = 'assets/images',
this.nameLogoAsset = 'logo_transparent.png',
this.baseAPIURL = 'https://www.example.com',
this.baseImageURL = 'https://www.example.com/images',
this.tokenFirebase = 'exampletoken',
this.fullPathImageAsset = '',
this.headersAPI = const {'Content-Type': 'application/x-www-form-urlencoded'},
});