NexusInAppCarouselBlock constructor

const NexusInAppCarouselBlock(
  1. String id, {
  2. required List<NexusInAppCarouselCard> cards,
  3. required double aspectRatio,
  4. required bool contain,
  5. required bool peek,
  6. required bool bleed,
  7. required double radius,
  8. required double gap,
  9. required double padding,
  10. required double titleSize,
  11. required double bodySize,
  12. required bool showIndicator,
  13. required Color indicatorColor,
  14. required int autoplaySeconds,
})

Implementation

const NexusInAppCarouselBlock(
  super.id, {
  required this.cards,
  required this.aspectRatio,
  required this.contain,
  required this.peek,
  required this.bleed,
  required this.radius,
  required this.gap,
  required this.padding,
  required this.titleSize,
  required this.bodySize,
  required this.showIndicator,
  required this.indicatorColor,
  required this.autoplaySeconds,
});