InfiniteListItem<I> constructor
const
InfiniteListItem<I> ({
- required ContentBuilder contentBuilder,
- HeaderBuilder? headerBuilder,
- HeaderStateBuilder<
I> ? headerStateBuilder, - MinOffsetProvider<
I> ? minOffsetProvider, - HeaderMainAxisAlignment mainAxisAlignment = HeaderMainAxisAlignment.start,
- HeaderCrossAxisAlignment crossAxisAlignment = HeaderCrossAxisAlignment.start,
- HeaderPositionAxis positionAxis = HeaderPositionAxis.mainAxis,
- EdgeInsets? padding,
Default list item constructor with relative header positioning
Implementation
const InfiniteListItem({
required this.contentBuilder,
this.headerBuilder,
this.headerStateBuilder,
this.minOffsetProvider,
this.mainAxisAlignment = HeaderMainAxisAlignment.start,
this.crossAxisAlignment = HeaderCrossAxisAlignment.start,
this.positionAxis = HeaderPositionAxis.mainAxis,
this.padding,
}) : overlayContent = false,
initialHeaderBuild = true;