KAdaptiveImage constructor

const KAdaptiveImage({
  1. Key? key,
  2. required KFilePath path,
  3. required Widget fallbackWidget,
  4. Size? size,
  5. Color? color,
  6. Animation<double>? opacity,
  7. BlendMode? colorBlendMode,
  8. String? semanticLabel,
  9. BoxFit? fit,
  10. Rect? centerSlice,
  11. int? cacheWidth,
  12. int? cacheHeight,
  13. bool preferLocal = false,
})

Implementation

const KAdaptiveImage({
  super.key,
  required this.path,
  required this.fallbackWidget,
  this.size,
  this.color,
  this.opacity,
  this.colorBlendMode,
  this.semanticLabel,
  this.fit,
  this.centerSlice,
  this.cacheWidth,
  this.cacheHeight,
  this.preferLocal = false,
});