Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RefreshIndicator.adaptive doesn't work inside PlatformScaffold in IOS #430

Open
vadimbarda opened this issue Jul 18, 2023 · 0 comments
Open

Comments

@vadimbarda
Copy link

Hi. Thanks for this awesome package which can help a lot in development.
I see issue with using RefreshIndicator.adaptive widget in IOS inside PlatformScaffold. My example works fine on Android. It works correct on IOS if PlatformScaffold replace to Scaffold. Please suggest if something wrong in my code example? Or there is some workaround or issue can be fixed in near future?

Widget build(BuildContext context) {
    return PlatformScaffold(
        appBar: PlatformAppBar(title: const Text('Refresh Indicator')),
        body: RefreshIndicator.adaptive(
          onRefresh: () => Future.delayed(const Duration(seconds: 1)),
          child: ListView.builder(
            itemCount: 50,
            itemBuilder: (context, index) {
              return Row(children: [Text('Item $index')]);
            },
          ),
        ));
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant