fluttercandies / extended_nested_scroll_view

extended nested scroll view to fix following issues. 1.pinned sliver header issue 2.inner scrollables in tabview sync issue 3.pull to refresh is not work. 4.do without ScrollController in NestedScrollView's body
MIT License
591 stars 117 forks source link

[Bug report] - _outerController is null. #151

Open aggeloskoutanis opened 4 months ago

aggeloskoutanis commented 4 months ago

Version

6.1.2

Platforms

iOS

Device Model

iPhone 13

flutter info

[✓] Flutter (Channel stable, 3.16.4, on macOS 14.2.1 23C71 darwin-x64, locale en-GR)
    • Flutter version 3.16.4 on channel stable at 
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 2e9cb0aa71 (3 months ago), 2023-12-11 14:35:13 -0700
    • Engine revision 54a7145303
    • Dart version 3.2.3
    • DevTools version 2.28.4

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/***/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C500b
    • CocoaPods version 1.15.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] VS Code (version 1.87.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.84.0

How to reproduce?

I dont know how to reproduce this one. I have a setState that is called inside a scroll listener.

Logs

Crashed in non-app: framework.dart in State.setState within flutter
extended_paginated_listings.dart in _ExtendedPaginatedListingsState.initState.<fn> at line 39 within vendora_app
In App
Called from: change_notifier.dart in ChangeNotifier.notifyListeners within flutter
1

Show 3 more frames
extended_nested_scroll_view.dart in _NestedScrollCoordinator.applyUserOffset at line 1304 within extended_nested_scroll_view
In App
Called from: scroll_activity.dart in ScrollDragController.update within flutter

Example code (optional)

No response

Contact

No response

zmtzawqlp commented 4 months ago

请提供复现的demo