RTImage constructor

const RTImage(
  1. String path, {
  2. Key? key,
  3. Color? color,
  4. double? width,
  5. double? height,
  6. bool isCircular = false,
  7. double? radius,
  8. Duration? fadeInDuration,
  9. Duration? placeholderFadeInDuration,
  10. Widget placeholderBuilder(
    1. BuildContext,
    2. String?
    )?,
  11. Widget errorWidget(
    1. BuildContext,
    2. String,
    3. Object
    )?,
  12. BoxFit? fit,
})

Implementation

const RTImage(
  this.path, {
  super.key,
  this.color,
  this.width,
  this.height,
  this.isCircular = false,
  this.radius,
  this.fadeInDuration,
  this.placeholderFadeInDuration,
  this.placeholderBuilder,
  this.errorWidget,
  this.fit,
});