flutter_slidable icon indicating copy to clipboard operation
flutter_slidable copied to clipboard

How can I do Slidable with Rounded corner

Open JasminScalelot opened this issue 3 years ago • 4 comments

Like this https://prnt.sc/wN_iiOXyUewt

JasminScalelot avatar Apr 12 '22 11:04 JasminScalelot

You can wrap the Slidable into a Container with the right shape and clip I think.

letsar avatar Jul 10 '22 15:07 letsar

@letsar That does not work. That makes the container clipped, but not the Slidable child. It would be great if the Slidable itself had a border radius.

jnovak-SM2Dev avatar Jul 14 '22 16:07 jnovak-SM2Dev

Use a ClipRRect widget as parent.

LeonP2ER avatar Jul 28 '22 09:07 LeonP2ER

You may give your slidableaction the params borderRadius: BorderRadius.circular

Zechst avatar Jul 28 '22 14:07 Zechst