Config constructor

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

Creates an instance of Config

Implementation

const Config({
  this.imagePath,
  this.android = false,
  this.ohos = false,
  this.ios = false,
  this.imagePathAndroid,
  this.imagePathOhos,
  this.imagePathOhosForeground,
  this.imagePathOhosBackground,
  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,
});