polish 4.0.0 and prepare 4.0.1
This commit is contained in:
@@ -46,11 +46,13 @@ class StreamInfoTile extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final chatThemeData = StreamChatTheme.of(context);
|
||||
return PortalEntry(
|
||||
return PortalTarget(
|
||||
visible: showMessage,
|
||||
portalAnchor: tileAnchor ?? Alignment.topCenter,
|
||||
childAnchor: childAnchor ?? Alignment.bottomCenter,
|
||||
portal: Container(
|
||||
anchor: Aligned(
|
||||
follower: tileAnchor ?? Alignment.topCenter,
|
||||
target: childAnchor ?? Alignment.bottomCenter,
|
||||
),
|
||||
portalFollower: Container(
|
||||
height: 25,
|
||||
color: backgroundColor ??
|
||||
chatThemeData.colorTheme.textLowEmphasis.withOpacity(0.9),
|
||||
|
||||
Reference in New Issue
Block a user