AutoScrollEntry constructor
const
AutoScrollEntry({
- Key? key,
- Duration duration = const Duration(seconds: 3),
- Duration animateDuration = const Duration(milliseconds: 500),
- int initialIndex = 0,
- double? itemHeight,
- int? maxItemCount,
- double? itemWidth,
- required List<
Widget> children, - ValueChanged<
int> ? onChanged, - EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
Implementation
const AutoScrollEntry(
{super.key,
this.duration = const Duration(seconds: 3),
this.animateDuration = const Duration(milliseconds: 500),
this.initialIndex = 0,
this.itemHeight,
this.maxItemCount,
this.itemWidth,
required this.children,
this.onChanged,
this.margin,
this.padding});