Image constructor

const Image({
  1. required String src,
  2. double? width,
  3. double? height,
  4. BoxFit fit = BoxFit.contain,
  5. Key? key,
  6. String? href,
  7. BorderRadius? borderRadius,
})

Implementation

const Image({
  required this.src,
  this.width,
  this.height,
  this.fit = BoxFit.contain,
  Key? key,
  this.href,
  this.borderRadius, // Nouvel argument ajouté
}) : super(key: key);