Answers for "A dismissed Slidable widget is still part of the tree."

0

A dismissed Slidable widget is still part of the tree.

// add setState(() {}) on dismissibllePane
startActionPane: ActionPane(
                   key: UniqueKey(),
                   dismissible: DismissiblePane(onDismissed: () {
                     setState(() {
                      snapshot.data.removeAt(index);
                        });
                   }),
                     motion: const ScrollMotion(),
                     children: const [], 
                  ),
Posted by: Guest on January-21-2022

Code answers related to "A dismissed Slidable widget is still part of the tree."

Code answers related to "Dart"

Browse Popular Code Answers by Language