fix image alignent
This commit is contained in:
@@ -359,6 +359,7 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
return Stack(
|
return Stack(
|
||||||
children: [
|
children: [
|
||||||
Column(
|
Column(
|
||||||
|
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||||
children: [
|
children: [
|
||||||
if (urlAttachment.imageUrl != null)
|
if (urlAttachment.imageUrl != null)
|
||||||
SizedBox(
|
SizedBox(
|
||||||
@@ -370,7 +371,11 @@ class _MessageWidgetState extends State<MessageWidget> {
|
|||||||
child: Stack(
|
child: Stack(
|
||||||
clipBehavior: Clip.antiAlias,
|
clipBehavior: Clip.antiAlias,
|
||||||
children: [
|
children: [
|
||||||
CachedNetworkImage(imageUrl: urlAttachment.imageUrl),
|
Center(
|
||||||
|
child: CachedNetworkImage(
|
||||||
|
imageUrl: urlAttachment.imageUrl,
|
||||||
|
),
|
||||||
|
),
|
||||||
Positioned(
|
Positioned(
|
||||||
left: 0.0,
|
left: 0.0,
|
||||||
bottom: 0.0,
|
bottom: 0.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user