AppConfig constructor

AppConfig({
  1. String indonesiaLocale = 'id_ID',
  2. String? urlAPK = 'https://www.example.com/apk/apk.apk',
  3. String? defaultImageNetwork = 'https://homepages.cae.wisc.edu/~ece533/images/airplane.png',
  4. String? urlImageAsset = 'assets/images',
  5. String? nameLogoAsset = 'logo_transparent.png',
  6. String? baseAPIURL = 'https://www.example.com',
  7. String? baseImageURL = 'https://www.example.com/images',
  8. String? tokenFirebase = 'exampletoken',
  9. String fullPathImageAsset = '',
  10. 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'},
});