FlutterLazyListView<T>.separated constructor Null safety

const FlutterLazyListView<T>.separated(
  1. {required DataFeedController<T> dataFeedController,
  2. required ItemBuilder<T> itemBuilder,
  3. required Function onReachingEnd,
  4. required ItemBuilder<T>? separatorBuilder,
  5. double offset = 150,
  6. Widget? progressBuilder,
  7. Widget? errorBuilder,
  8. Widget? emptyListBuilder,
  9. Widget? noDataBuilder,
  10. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 10, vertical: 20),
  11. Function? onRefresh}
)

Implementation

const FlutterLazyListView.separated(
    {required this.dataFeedController,
    required this.itemBuilder,
    required this.onReachingEnd,
    required this.separatorBuilder,
    this.offset = 150,
    this.progressBuilder,
    this.errorBuilder,
    this.emptyListBuilder,
    this.noDataBuilder,
    this.padding = const EdgeInsets.symmetric(horizontal: 10, vertical: 20),
    this.onRefresh});