CustomSliverChildBuilderDelegate constructor
CustomSliverChildBuilderDelegate({})
Creates a CustomSliverChildBuilderDelegate.
Implementation
factory CustomSliverChildBuilderDelegate({
required TreeDataTableProvider provider,
required List<TreeRow> dataRows,
int level = 0,
List<int> parentIndexes = const [],
int? childCount,
bool selectRowsOnTap = false,
}) {
final visibleRows = TreeRowVisibility.visibleRows(provider, dataRows);
return CustomSliverChildBuilderDelegate._(
provider: provider,
dataRows: dataRows,
visibleRows: visibleRows,
selectRowsOnTap: selectRowsOnTap,
);
}