InfiniteQueryWidgetBuilder<TPage, TPageParam> typedef

InfiniteQueryWidgetBuilder<TPage, TPageParam> = Widget Function(BuildContext context, InfiniteQueryResult<TPage, TPageParam> result, Future<InfiniteQueryResult<TPage, TPageParam>> fetchNextPage(), Future<InfiniteQueryResult<TPage, TPageParam>> fetchPreviousPage())

Builds a widget from an infinite query and its paging actions.

Implementation

typedef InfiniteQueryWidgetBuilder<TPage, TPageParam> =
    Widget Function(
      BuildContext context,
      InfiniteQueryResult<TPage, TPageParam> result,
      Future<InfiniteQueryResult<TPage, TPageParam>> Function() fetchNextPage,
      Future<InfiniteQueryResult<TPage, TPageParam>> Function()
      fetchPreviousPage,
    );