buildWithCategory method

  1. @override
Widget buildWithCategory(
  1. dynamic onDataFetched(
    1. List<RewardsModel> pendings,
    2. List<RewardsModel> collected,
    3. List<RewardsModel> expired
    )
)
override

Implementation

@override
Widget buildWithCategory(
    Function(List<RewardsModel> pendings, List<RewardsModel> collected,
            List<RewardsModel> expired)
        onDataFetched) {
  return rewardProviderCategory(
    onBuild: (pendings, collected, expired) {
      return onDataFetched(pendings, collected, expired);
    },
  );
}