flutter_slidable icon indicating copy to clipboard operation
flutter_slidable copied to clipboard

If more than two SlidableAction, the lable disappear

Open kwarnkham opened this issue 1 year ago • 3 comments

children: [ SlidableAction( onPressed: null, backgroundColor: Color(0xFFFE4A49), foregroundColor: Colors.white, icon: Icons.delete, label: 'Delete', ), SlidableAction( onPressed: null, backgroundColor: Color(0xFF21B7CA), foregroundColor: Colors.white, icon: Icons.share, label: 'Share', ), SlidableAction( onPressed: null, backgroundColor: Color(0xFF21B7CA), foregroundColor: Colors.white, icon: Icons.share, label: 'Share', ), ]

Please try to have 3 SlidableAction and you will see there is no label anymore

kwarnkham avatar May 20 '24 03:05 kwarnkham

I tested in "endActionPane" and iPhone 8 plus simulator

kwarnkham avatar May 20 '24 03:05 kwarnkham

The label doesn't seem to fit.

olerhan avatar Jul 03 '24 15:07 olerhan

You sholud set extentRatio parameter on xxxActionPane

olerhan avatar Jul 03 '24 15:07 olerhan