CarouselSlide.network constructor

CarouselSlide.network({
  1. Key? key,
  2. required String? title,
  3. required String? description,
  4. required String? networkAsset,
  5. TextStyle? textStyle,
})

use this constructor if your image asset is fetched over a network

Implementation

CarouselSlide.network({
  super.key,
  required this.title,
  required this.description,
  required this.networkAsset,
  this.textStyle,
}) {
  assert(imageAsset == null && networkAsset != null);
}