buildNestedScrollView method

Widget buildNestedScrollView()

Implementation

Widget buildNestedScrollView() {
  return NotificationListener<ScrollNotification>(
    onNotification: widget.snap ? _handleScrollNotification : null,
    child: NestedScrollView(
      controller: scrollController,
      headerSliverBuilder: (context, innerBoxIsScrolled) {
        return widget.headers;
      },
      body: widget.body,
    ),
  );
}