XBanner constructor

const XBanner({
  1. Key? key,
  2. required List<String> imgs,
  3. required double height,
  4. double dotSpace = 23,
  5. double marginBottom = 21,
  6. BoxFit fit = BoxFit.cover,
  7. double? radius,
  8. SwiperOnTap? onTap,
})

Implementation

const XBanner({
  Key? key,
  required this.imgs,
  required this.height,
  this.dotSpace = 23,
  this.marginBottom = 21,
  this.fit = BoxFit.cover,
  this.radius,
  this.onTap,
}) : super(key: key);