commentsProvider top-level property

FutureProviderFamily<PagingController<int, Comment>?, String> commentsProvider
final

A global Provider for getting the paging controller for comments for a video.

Implementation

final commentsProvider =
    FutureProvider.family<PagingController<int, Comment>?, String>((ref, url) {
  return PlayerYoutubeSource.instance.getCommentsForVideo(url);
});