# Refactor LineUp widgets for improved key handling and add tests for lineup item interactions · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/69b3b01efa2df8dcfcec8eb78e0e843cfa9085e7)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 69b3b01efa2df8dcfcec8eb78e0e843cfa9085e7

Requested commit: 69b3b01efa2df8dcfcec8eb78e0e843cfa9085e7

Commit: 69b3b01efa2df8dcfcec8eb78e0e843cfa9085e7

Tree: 0864f373a3e55538cec794c08307a4894911aca2

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Refactor LineUp widgets for improved key handling and add tests for lineup item interactions

- Update LineUpGroupAgentWidget and LineUpItemAbilityWidget constructors to use ValueKey for better key management.
- Introduce a new test to ensure remaining stacked lineup items remain interactive after deleting a sibling item.
- Refactor widget tree in tests to use Consumer for dynamic updates based on provider state.

```

## Parents

- [fd4fe5d56043d9ab09c55d0dabb96662e974573b](https://git.cafe/dara/icarus/commit/fd4fe5d56043d9ab09c55d0dabb96662e974573b?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/69b3b01efa2df8dcfcec8eb78e0e843cfa9085e7?format=markdown)
