Open rt234cw opened 9 months ago
fianl slidableController = SlidableController(this); Slidable( controller: slidableController, // Specify a key if the Slidable is dismissible. key: const ValueKey(0), motion: const ScrollMotion(), children: [ TextButton(onPressed: () { slidableController .close(); }, child: const Text('cancel'),), ],
For example, I am using TextButton. How do I dismiss the sliablaction after pressing the button?