IntroductionSliderItem constructor

const IntroductionSliderItem({
  1. required String? title,
  2. required String? description,
  3. required Widget? image,
  4. Color? backgroundColor,
  5. ImageProvider<Object>? backgroundImage,
})

Implementation

const IntroductionSliderItem({
  required this.title,
  required this.description,
  required this.image,
  this.backgroundColor,
  this.backgroundImage,
})  : assert(title != null, "It is mandatory to provide a title."),
      assert(
          description != null, "It is mandatory to provide a description."),
      assert(
          image != null, "It is mandatory to provide a image or a widget.");