SwipeFeedState<T>.initial constructor
SwipeFeedState<T>.initial (
- FeedLoader<
T> loader, - Widget noMoreItems,
- 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
);