mirror of
https://github.com/flutter/flutter
synced 2024-10-13 03:32:55 +00:00
Change the code sample (#79743)
This commit is contained in:
parent
531d99f0fa
commit
e54e33c675
|
@ -92,7 +92,7 @@ enum DismissDirection {
|
|||
/// key: ValueKey<int>(items[index]),
|
||||
/// onDismissed: (DismissDirection direction) {
|
||||
/// setState(() {
|
||||
/// items.remove(index);
|
||||
/// items.removeAt(index);
|
||||
/// });
|
||||
/// },
|
||||
/// );
|
||||
|
|
Loading…
Reference in a new issue