memoizeScrollToNon function

WidgetBuilder memoizeScrollToNon(
  1. WidgetBuilder builder
)

Implementation

WidgetBuilder memoizeScrollToNon(WidgetBuilder builder) {
  Widget? _memoized;
  return (context) => _memoized ??= builder(context);
}