MarcelGarus / MarcelGarus/implicitly_animated_list

Removing an item

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
11
Forks
8
PR merge metrics
No merged PRs in 30d

Description

How can I remove an item? If I just remove it from the `List` it triggers this error:
```
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following IndexError was thrown building:
RangeError (index): Index out of range: index must not be negative: -1
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No file or test is named. Start by reproducing the error when an item is removed from the List, then trace the widget implementation to the code handling list changes and the reported negative index. Done means removing an item no longer throws the shown RangeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.