SeniorCarouselSlider constructor
const
SeniorCarouselSlider({
- Key? key,
- SeniorModalDefinitions? deleteDialogDefinition,
- required String emptyLabel,
- required List<
ImageProvider< images,Object> > - int initialPage = 0,
- dynamic onDelete()?,
- bool showDots = true,
- bool showPageInfo = true,
- SeniorCarouselSliderStyle? style,
- String toLabelWord = '/',
Creates a slider carousel component. The images and emptyLabel parameters are required. The deleteDialogDefinition parameter must be informed whenever onDelete is also informed and only in this situation.
Implementation
const SeniorCarouselSlider({
Key? key,
this.deleteDialogDefinition,
required this.emptyLabel,
required this.images,
this.initialPage = 0,
this.onDelete,
this.showDots = true,
this.showPageInfo = true,
this.style,
this.toLabelWord = '/',
}) : assert(onDelete == null && deleteDialogDefinition == null ||
onDelete != null && deleteDialogDefinition != null),
assert(initialPage <= images.length),
super(key: key);