Slide constructor
const
Slide({
- Key? key,
- required String mediaUrl,
- String? title,
- String? subtitle,
- int? index,
- Widget? header,
- Widget contentBuilder()?,
- required ValueNotifier<
bool> isPaused, - required StoriesRepo storiesRepo,
- required int storyCount,
- required int slidesCount,
- required int storyIndex,
- required ValueNotifier<
double> progress, - List? component,
- VoidCallback? onStoryShown,
- VoidCallback? onSlideComplete,
Implementation
const Slide({
Key? key,
required this.mediaUrl,
this.title,
this.subtitle,
this.index,
this.header,
this.footer,
this.contentBuilder,
required this.isPaused,
required this.storiesRepo,
required this.storyCount,
required this.slidesCount,
required this.storyIndex,
required this.progress,
this.component,
this.onStoryShown,
this.onSlideComplete,
}) : super(key: key);