Config constructor

const Config({
  1. String? imagePath,
  2. dynamic android = false,
  3. dynamic ios = false,
  4. String? imagePathAndroid,
  5. String? imagePathIOS,
  6. String? imagePathIOSDarkTransparent,
  7. String? imagePathIOSTintedGrayscale,
  8. String? adaptiveIconForeground,
  9. int adaptiveIconForegroundInset = 16,
  10. String? adaptiveIconBackground,
  11. String? adaptiveIconMonochrome,
  12. int minSdkAndroid = constants.androidDefaultAndroidMinSDK,
  13. bool removeAlphaIOS = false,
  14. bool desaturateTintedToGrayscaleIOS = false,
  15. String backgroundColorIOS = '#ffffff',
  16. WebConfig? webConfig,
  17. WindowsConfig? windowsConfig,
  18. MacOSConfig? macOSConfig,
})

Creates an instance of Config

Implementation

const Config({
  this.imagePath,
  this.android = false,
  this.ios = false,
  this.imagePathAndroid,
  this.imagePathIOS,
  this.imagePathIOSDarkTransparent,
  this.imagePathIOSTintedGrayscale,
  this.adaptiveIconForeground,
  this.adaptiveIconForegroundInset = 16,
  this.adaptiveIconBackground,
  this.adaptiveIconMonochrome,
  this.minSdkAndroid = constants.androidDefaultAndroidMinSDK,
  this.removeAlphaIOS = false,
  this.desaturateTintedToGrayscaleIOS = false,
  this.backgroundColorIOS = '#ffffff',
  this.webConfig,
  this.windowsConfig,
  this.macOSConfig,
});