add cliprrect to file section of messageinput
This commit is contained in:
@@ -1247,7 +1247,10 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
.map(
|
.map(
|
||||||
(e) => Padding(
|
(e) => Padding(
|
||||||
padding:
|
padding:
|
||||||
const EdgeInsets.symmetric(horizontal: 4.0),
|
const EdgeInsets.symmetric(horizontal: 8.0),
|
||||||
|
child: ClipRRect(
|
||||||
|
borderRadius: BorderRadius.circular(10),
|
||||||
|
clipBehavior: Clip.antiAlias,
|
||||||
child: FileAttachment(
|
child: FileAttachment(
|
||||||
attachment: e.attachment,
|
attachment: e.attachment,
|
||||||
size: Size(
|
size: Size(
|
||||||
@@ -1274,6 +1277,7 @@ class MessageInputState extends State<MessageInput> {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
.toList(),
|
.toList(),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user