fix: attachment borders

This commit is contained in:
Deven Joshi
2021-05-18 15:22:41 +05:30
parent 5155940ddd
commit 9e9cd2b66f
5 changed files with 23 additions and 28 deletions
@@ -331,14 +331,10 @@ Widget wrapAttachmentWidget(
ShapeBorder attachmentShape,
// ignore: avoid_positional_boolean_parameters
bool reverse,
BorderRadius borderRadius,
) =>
ClipRRect(
borderRadius: borderRadius.mirrorBorderIfReversed(reverse: reverse),
child: Material(
clipBehavior: Clip.antiAlias,
shape: attachmentShape,
type: MaterialType.transparency,
child: attachmentWidget,
),
Material(
clipBehavior: Clip.antiAlias,
shape: attachmentShape,
type: MaterialType.transparency,
child: attachmentWidget,
);