ProKitCarouselModel constructor

const ProKitCarouselModel({
  1. required String heading,
  2. required String subheading,
  3. required String buttonText,
  4. TextStyle? headingStyle,
  5. TextStyle? subheadingStyle,
  6. TextStyle? buttonTextStyle,
  7. Color? borderColor,
  8. required String imageUrl,
  9. required ProKitCarouselType carouselType,
  10. VoidCallback? onButtonPressed,
})

Implementation

const ProKitCarouselModel({
  required this.heading,
  required this.subheading,
  required this.buttonText,
  this.headingStyle,
  this.subheadingStyle,
  this.buttonTextStyle,
  this.borderColor,
  required this.imageUrl,
  required this.carouselType,
  this.onButtonPressed,
});