build method

  1. @override
Widget build(
  1. Widget itemBuilder(
    1. RewardsModel item
    )
)
override

Implementation

@override
Widget build(Widget Function(RewardsModel item) itemBuilder) {
  return rewardProvider(
    onBuild: (value) {
      return ListView.builder(
        itemCount: value.length,
        itemBuilder: (context, index) {
          return itemBuilder(value[index]);
        },
      );
    },
  );
}