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

Sudden issue building. PersistentBottomSheetController showBottomSheet expected 0 arguments. #1849

Closed
1 task done
indiealchemy opened this issue Feb 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@indiealchemy
Copy link

Which packages are you using?

stream_chat_flutter

On what platforms did you experience the issue?

Web, MacOS

What version are you using?

7.0.1

What happened?

Sudden issue building after running flutter upgrade. Getting this builder error now with MacOS Targets ../../.pub-cache/hosted/pub.dev/stream_chat_flutter-7.0.1/lib/src/bottom_sheets/stream_channel_info_bottom_sheet.dart:324:1: Error: Expected 0 type arguments.
PersistentBottomSheetController showChannelInfoBottomSheet({
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../.pub-cache/hosted/pub.dev/stream_chat_flutter-7.0.1/lib/src/bottom_sheets/stream_channel_info_bottom_sheet.dart:339:5: Error: Expected 0 type arguments.
showBottomSheet(
^
/opt/homebrew/Caskroom/flutter/3.16.3/flutter/packages/flutter/lib/src/material/bottom_sheet.dart:1327:33: Context: Found this candidate, but the arguments don't match.
PersistentBottomSheetController showBottomSheet({
^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception

Command PhaseScriptExecution failed with a nonzero exit code

Steps to reproduce

1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
...

Supporting info to reproduce

No response

Relevant log output

No response

Flutter analyze output

No response

Flutter doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.19.0, on macOS 14.3 23D56 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2023.1)
[✓] VS Code (version 1.85.2)
[✓] Connected device (2 available)
[✓] Network resources

• No issues found!

Code of Conduct

  • I agree to follow this project's Code of Conduct
@indiealchemy indiealchemy added the bug Something isn't working label Feb 19, 2024
@indiealchemy
Copy link
Author

Already being handled #1848.

Temp solution: dependency_overrides:
stream_chat_flutter:
git:
url: https://github.com/easyhour/stream-chat-flutter.git
path: packages/stream_chat_flutter
ref: 8.0.0-beta.2-flutter.3.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant