OneImage constructor

const OneImage({
  1. Key? key,
  2. String? imageUrl,
  3. double? width,
  4. double? maxHeight,
  5. double? height,
  6. double radius = 0,
  7. BorderRadiusGeometry? borderRadius,
  8. bool withGradient = false,
  9. bool isAsset = false,
  10. bool isCached = false,
  11. bool isUser = false,
  12. bool showPlus = false,
  13. BoxFit boxFit = BoxFit.cover,
  14. VoidCallback? onTap,
})

Implementation

const OneImage({
  super.key,
  this.imageUrl,
  this.width,
  this.maxHeight,
  this.height,
  this.radius = 0,
  this.borderRadius,
  this.withGradient = false,
  this.isAsset = false,
  this.isCached = false,
  this.isUser = false,
  this.showPlus = false,
  this.boxFit = BoxFit.cover,
  this.onTap,
});