Carousel3DWidget constructor
Carousel3DWidget(- {Key key,
- bool loop = true,
- int duration = 1000,
- ValueChanged<int> onChanged,
- int index = 0,
- int itemCount,
- double viewportFraction = 0.6,
- IndexedWidgetBuilder itemBuilder,
- bool autoPlay = true,
- int autoPlayDelay = 1500,
- double scale = 0.7}
)
Implementation
Carousel3DWidget(
{Key key,
this.loop = true,
this.duration = 1000,
this.onChanged,
this.index = 0,
this.itemCount,
this.viewportFraction = 0.6,
this.itemBuilder,
this.autoPlay = true,
this.autoPlayDelay = 1500,
this.scale = 0.7})
: assert(itemBuilder != null || itemCount != null,
"itemBuilder and transformItemBuilder must not be both null"),
super(key: key);