Unverified Commit e54e33c6 authored by Abhishek Ghaskata's avatar Abhishek Ghaskata Committed by GitHub

Change the code sample (#79743)

parent 531d99f0
...@@ -92,7 +92,7 @@ enum DismissDirection { ...@@ -92,7 +92,7 @@ enum DismissDirection {
/// key: ValueKey<int>(items[index]), /// key: ValueKey<int>(items[index]),
/// onDismissed: (DismissDirection direction) { /// onDismissed: (DismissDirection direction) {
/// setState(() { /// setState(() {
/// items.remove(index); /// items.removeAt(index);
/// }); /// });
/// }, /// },
/// ); /// );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment