SliverWaterfallFlow.count constructor

const SliverWaterfallFlow.count({
  1. Key? key,
  2. List<Widget>? children,
  3. SemanticIndexCallback? semanticIndexCallback,
  4. bool addAutomaticKeepALives = false,
  5. bool addRepaintBoundaries = false,
  6. bool addSemanticIndexes = true,
  7. double mainAxisSpacing = 0,
  8. double crossAxisSpacing = 0,
  9. double? maxCrossAxisExtent,
  10. int? crossAxisCount,
  11. 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;