CarouselSlide.custom constructor

CarouselSlide.custom({
  1. Key? key,
  2. required Widget? body,
  3. required String? imageAsset,
  4. TextStyle? textStyle,
})

use this constructor if you want to provide a custom content for your carousel

Implementation

CarouselSlide.custom({
  super.key,
  required this.body,
  required this.imageAsset,
  this.textStyle,
});