TImage constructor

TImage({
  1. Key? key,
  2. required String source,
  3. String? defaultAssetsPath,
  4. BoxFit fit = BoxFit.cover,
  5. double? width,
  6. double? height,
  7. double borderRadius = 5,
  8. double? size,
  9. Widget? loadingProgressWidget,
})

Implementation

TImage({
  super.key,
  required this.source,
  this.defaultAssetsPath,
  this.fit = BoxFit.cover,
  this.width,
  this.height,
  this.borderRadius = 5,
  this.size,
  this.loadingProgressWidget,
});