DEV Community

loading...

Discussion on: Simplify your Flutter app with Provider

Collapse
aedthuill profile image
aedthuill

Hi. I am new to Flutter and i decided to start with provider package, so I am looking for some help or advice. I have found that if I want to filter unrelated models by id (based on each others), so I need to create the new List, where I should put all filtered items, but the thing is: I use Provider.of and Consumer, but I got only one item but not arrays of item? Could you, please, give me some advice about this issue? May be I need to use Selector? But if I will use Selector, can I use it not for single item but for the List of items?

Thanks :)