Comments (7)
Hello everyone! Let me shed some light on this issue. The last 2 Flutter minor versions are introducing breaking changes:
- 3.16.x uses material 3 by default, this breaks our golden tests and therefore our UI components are compromised. We are working on fixing them in our v8.0.0 beta version.
- 3.19.x breaks the use of
showBottomSheet
, which is an easy fix, but doesn't really matter as in order to get to this version you will also have t use Material3. This fix is in PR for v8.0.0 beta version.
Unfortunately, for the above reasons we cannot "officially" support 3.19 in our stable version yet. I know it is frustrating, and we are working on stabilizing our beta version soon.
from stream-chat-flutter.
Happening on Flutter 3.19. (I had to downgrade to 3.16.9 because of this)
from stream-chat-flutter.
If you want to made this running also in flutter 3.19 just edit the file in your local cache (in this case in ../../../.pub-cache/hosted/pub.dev/stream_chat_flutter-5.3.0/lib/src/bottom_sheets/stream_channel_info_bottom_sheet.dart
) and remove all <T>
from this lines:
after this change it will work again and your file should seems like:
PersistentBottomSheetController showChannelInfoBottomSheet({
required BuildContext context,
required Channel channel,
Color? backgroundColor,
double? elevation,
BoxConstraints? constraints,
AnimationController? transitionAnimationController,
Clip? clipBehavior = Clip.hardEdge,
ShapeBorder? shape = _kDefaultChannelInfoBottomSheetShape,
void Function(Member)? onMemberTap,
VoidCallback? onViewInfoTap,
VoidCallback? onLeaveChannelTap,
VoidCallback? onDeleteConversationTap,
VoidCallback? onCancelTap,
}) =>
showBottomSheet(
context: context,
backgroundColor: backgroundColor,
elevation: elevation,
shape: shape,
clipBehavior: clipBehavior,
constraints: constraints,
transitionAnimationController: transitionAnimationController,
builder: (BuildContext context) => StreamChannelInfoBottomSheet(
channel: channel,
onMemberTap: onMemberTap,
onViewInfoTap: onViewInfoTap,
onLeaveChannelTap: onLeaveChannelTap,
onDeleteConversationTap: onDeleteConversationTap,
onCancelTap: onCancelTap,
),
);
from stream-chat-flutter.
I faced the same problem.
from stream-chat-flutter.
This is also stopping me from upgrading to Flutter 3.19.2
from stream-chat-flutter.
This issue is stale because it has been open for 20 days with no activity.
from stream-chat-flutter.
This issue was closed because it has been inactive for 7 days since being marked as stale.
from stream-chat-flutter.
Related Issues (20)
- Reaction Picker Tail is always shown when the Reaction Picker is enabled in the default message widget HOT 3
- Creating a new user doesn't always work HOT 3
- First message doesn't send HOT 2
- Filtering does not work when querying channels HOT 9
- Release 7.2.0 has wrong dependency restrictions for connectivity_plus HOT 5
- always showing 'You must have a Stream Chat Theme widget at the top of your widget tree' even if it is wrap HOT 4
- Version issues 7.2 'A value of type 'Stream<List<ConnectivityResult>>' can't be assigned to a variable of type 'Stream<ConnectivityResult>?' HOT 25
- type '_$Loading<int, Channel>' is not a subtype of type 'Success<int, Channel>' in type cast HOT 2
- Attachment Error : Unhandled Exception: FormatException: Illegal scheme character HOT 2
- HttpException: Bad file descriptor on connect call HOT 2
- 7.2.0-hotfix.1 not working HOT 4
- Exception caught by image resource service: Invalid argument(s): No host specified in URI HOT 3
- Long-press reaction triggers web context menu on mobile HOT 2
- Update connectivity_plus and other dependencies to latest versions HOT 2
- 403 error on older images when scrolling up on message list by new channel member. Old members seem ok. HOT 2
- Can't run tutorial with stream_chat_flutter: ^7.2.0 HOT 5
- Floating date divider overlap
- Reply & Show in chat functionality doesn't work in Attachment Actions Modal HOT 1
- Unread flag gets reset after refreshing the channels
- Package Compatibility Issue with Flutter 3.22.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stream-chat-flutter.