TImageUrl constructor

const TImageUrl({
  1. Key? key,
  2. required String url,
  3. String? defaultAssetsPath,
  4. LoadingBuilderCallback? loadingBuilder,
  5. BoxFit fit = BoxFit.cover,
  6. double? width,
  7. double? height,
  8. double borderRadius = 5,
  9. double? size,
  10. ErrorBuilderCallback? errorBuilder,
  11. FrameBuilderCallback? frameBuilder,
  12. FilterQuality filterQuality = FilterQuality.medium,
  13. int? cacheHeight,
  14. int? cacheWidth,
  15. double scale = 1.0,
  16. String? semanticLabel,
  17. bool excludeFromSemantics = false,
  18. Color? color,
  19. Animation<double>? opacity,
  20. BlendMode? colorBlendMode,
  21. Alignment alignment = Alignment.center,
  22. ImageRepeat repeat = ImageRepeat.noRepeat,
  23. Rect? centerSlice,
  24. bool matchTextDirection = false,
  25. bool gaplessPlayback = false,
  26. bool isAntiAlias = false,
})

Implementation

const TImageUrl({
  super.key,
  required this.url,
  this.defaultAssetsPath,
  this.loadingBuilder,
  this.fit = BoxFit.cover,
  this.width,
  this.height,
  this.borderRadius = 5,
  this.size,
  this.errorBuilder,
  this.frameBuilder,
  this.filterQuality = FilterQuality.medium,
  this.cacheHeight,
  this.cacheWidth,
  this.scale = 1.0,
  this.semanticLabel,
  this.excludeFromSemantics = false,
  this.color,
  this.opacity,
  this.colorBlendMode,
  this.alignment = Alignment.center,
  this.repeat = ImageRepeat.noRepeat,
  this.centerSlice,
  this.matchTextDirection = false,
  this.gaplessPlayback = false,
  this.isAntiAlias = false,
});