1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[Flutter] How to remove item from list and return new list without removed item in flutter

Discussão em 'Mobile' iniciado por Stack, Outubro 10, 2024 às 15:32.

  1. Stack

    Stack Membro Participativo

    I have a list of string as List<String> temp = ['a', 'b', 'c', 'd']; I want to modify and remove specific item from the list and return new list without the removed item.

    For example, if I want to remove index 2, what I want to get is ['a', 'b', 'd'] removeAt doesn't work since it just returns removed string item...

    Continue reading...

Compartilhe esta Página