XImage constructor

const XImage({
  1. Key? key,
  2. required String url,
  3. required double width,
  4. required double height,
  5. double radius = 5,
  6. BoxFit fit = BoxFit.cover,
})

Implementation

const XImage({
  super.key,
  required this.url,
  required this.width,
  required this.height,
  this.radius = 5,
  this.fit = BoxFit.cover,
});