wrapAttachmentWidget function
Widget
wrapAttachmentWidget(
- BuildContext context,
- Widget attachmentWidget,
- ShapeBorder attachmentShape,
- bool reverse,
Wraps attachment widget with custom shape
Implementation
Widget wrapAttachmentWidget(
BuildContext context,
Widget attachmentWidget,
ShapeBorder attachmentShape,
// ignore: avoid_positional_boolean_parameters
bool reverse,
) =>
Material(
clipBehavior: Clip.hardEdge,
shape: attachmentShape,
type: MaterialType.transparency,
child: attachmentWidget,
);