Skip to content

Commit

Permalink
Change the code sample (#79743)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishek01039 committed Apr 7, 2021
1 parent 531d99f commit e54e33c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/flutter/lib/src/widgets/dismissible.dart
Expand Up @@ -92,7 +92,7 @@ enum DismissDirection {
/// key: ValueKey<int>(items[index]),
/// onDismissed: (DismissDirection direction) {
/// setState(() {
/// items.remove(index);
/// items.removeAt(index);
/// });
/// },
/// );
Expand Down

0 comments on commit e54e33c

Please sign in to comment.