Clifton Hatfield
Clifton Hatfield
@nicolasvahidzein this is what I did to dismiss a list item on tap. ```dart endActionPane: ActionPane( motion: const BehindMotion(), dismissible: DismissiblePane(onDismissed: () {}), children: [ SlidableAction( autoClose: false, onPressed: (context)...
``` onPressed: (context) { final controller = Slidable.of(context); controller?.dismiss( ResizeRequest(const Duration(milliseconds: 300), () => _deleteComment(_comments![index])), duration: const Duration(milliseconds: 300), ); } ``` Try this.
`limit: [{ type: 'fromto', from: '2015-01-01', to: moment().day(2).format('YYYY-MM-DD') }],`
I had the same problem. My solution was to set transitionBackgroundColor: Colors.transparent and Colors.black.withOpacity(0.5). ```dart showCupertinoModalBottomSheet( context: context, backgroundColor: Colors.transparent, transitionBackgroundColor: Colors.transparent, barrierColor: Colors.black.withOpacity(0.5), builder: (context) => const ExamplePage(), );