Image constructor

Image({
  1. Key? key,
  2. required String src,
  3. double? width,
  4. double? height,
  5. String? fit,
  6. dynamic borderRadius,
})

Implementation

Image({
  Key? key,
  required this.src,
  this.width,
  this.height,
  this.fit,
  this.borderRadius,
}) : super(key: key);