flutter_slidable
flutter_slidable copied to clipboard
issue with size of CustomSlidableAction
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:
,
but need:

When I cook CustomSlidableAction, I have this result:
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!!!!!