SliverWaterfallFlow.count constructor
const
SliverWaterfallFlow.count({
- Key? key,
- List<
Widget> ? children, - SemanticIndexCallback? semanticIndexCallback,
- bool addAutomaticKeepALives = false,
- bool addRepaintBoundaries = false,
- bool addSemanticIndexes = true,
- double mainAxisSpacing = 0,
- double crossAxisSpacing = 0,
- double? maxCrossAxisExtent,
- int? crossAxisCount,
- Widget placeholder = const PlaceholderChild(),
Implementation
const SliverWaterfallFlow.count(
{super.key,
this.children,
this.semanticIndexCallback,
this.addAutomaticKeepALives = false,
this.addRepaintBoundaries = false,
this.addSemanticIndexes = true,
this.mainAxisSpacing = 0,
this.crossAxisSpacing = 0,
this.maxCrossAxisExtent,
this.crossAxisCount,
this.placeholder = const PlaceholderChild()})
: assert(maxCrossAxisExtent != null || crossAxisCount != null),
aligned = false,
itemBuilder = null,
itemCount = null,
findChildIndexCallback = null;