baseRefreshMessageState method

Widget baseRefreshMessageState(
  1. NotifierBuilder<T?> widget, {
  2. VoidCallback? onLoading,
  3. ScrollController? scrollController,
  4. Widget? footer,
})

Implementation

Widget baseRefreshMessageState(
  NotifierBuilder<T?> widget, {
  VoidCallback? onLoading,
  ScrollController? scrollController,
  Widget? footer,
}) {
  return SimpleBuilder(builder: (_) {
    return BaseRefresh.message(
      controller: refreshController,
      scrollController: scrollController,
      footer: footer,
      onLoading: onLoading,
      sliver: widget(state),
    );
  });
}