SwipeFeedState<T>.initial constructor

SwipeFeedState<T>.initial(
  1. FeedLoader<T> loader,
  2. Widget noMoreItems,
  3. Widget connectivityError
)

Implementation

factory SwipeFeedState.initial(FeedLoader<T> loader, Widget noMoreItems, Widget connectivityError) => SwipeFeedState(
  loader: loader,
  items: [Tuple2(null, SwipeFeedCardState.tower())],
  noMoreItems: noMoreItems,
  connectivityError: connectivityError
);