baseRefreshMessageState method
Widget
baseRefreshMessageState(
- NotifierBuilder<
T?> widget, { - VoidCallback? onLoading,
- ScrollController? scrollController,
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),
);
});
}