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