Skip to content

CupertinoSliverRefreshControl in NestedScrollView headerSliverBuilder is non-functional #170218

Open
@Daeon97

Description

@Daeon97

Steps to reproduce

This is a duplicate of #160912. That issue was closed but problem is still happening so I am opening this issue

I am trying to use a CupertinoSliverRefreshControl inside a NestedScrollView's headerSliverBuilder on iOS. However refresh is not triggered on over-scroll. Nothing works

Expected results

I expect that swipe refresh works correctly on iOS

Actual results

Swipe refresh does not work as expected

Code sample

Code sample
NestedScrollView(
        physics: const AlwaysScrollableScrollPhysics(),
        headerSliverBuilder: (_, __) => [
          if (Platform.isIOS)
            CupertinoSliverRefreshControl(
              onRefresh: _onRefresh,
            ),
          const SliverToBoxAdapter(
            child: SizedBox(
              height: twentyDotNil,
            ),
          ),
    ...
)

Screenshots or Video

Screenshots / Video demonstration
ScreenRecording_06-08-2025.15-55-05_1.MP4

Flutter Doctor output

Doctor output Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listf: cupertinoflutter/packages/flutter/cupertino repositoryf: scrollingViewports, list views, slivers, etc.found in release: 3.32Found to occur in 3.32found in release: 3.33Found to occur in 3.33frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onteam-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions