flutter_slidable icon indicating copy to clipboard operation
flutter_slidable copied to clipboard

issue with size of CustomSlidableAction

Open kingstertime opened this issue 3 years ago • 0 comments

Hi! In my case I have SlidableAction SlidableAction( onPressed: (context) { c.setToRemoveIndex(currentItem.id); c.openBottomSheet(context, child: const _AlertBottomSheet()); }, backgroundColor: AppColors.plainText, icon: Icons.clear, ),

And have this result: picture,

but need: picture

When I cook CustomSlidableAction, I have this result: picture CustomSlidableAction(onPressed: (context) { // c.setToRemoveIndex(currentItem.id); // c.openBottomSheet(context, child: const _AlertBottomSheet()); debugPrint('pressed'); }, child: Container(margin: EdgeInsets.zero, padding: EdgeInsets.zero, height: 80, width: 80, color: Colors.red,))

how I can constrained my widget, to fit it to my main widget (merging into one).

Thanks!!!!!

kingstertime avatar Aug 24 '22 14:08 kingstertime