MultiFeedController constructor
MultiFeedController({
- required int pageCount,
- FeedGridViewDelegate? gridDelegatesAtIndex(
- int index
Implementation
MultiFeedController({required this.pageCount, FeedGridViewDelegate? Function(int index)? gridDelegatesAtIndex}) : this._controllers = List.generate(pageCount, (index) => FeedController(
gridDelegate: gridDelegatesAtIndex?.call(index) ?? null
));