How to get list of boolean by comparing two list flutter

Currently, I am building a widget using Listview.builder

I need two lists. The first list that I need is the first List A. which will count the length. And the second list is the list of booleans

so for example

this List A

A = [a, b, c, d ,e]

and this is List B

B =[c, e]

and the result that I want is

C = [false, false, true , false, true]

but the results that I've tried return only True itself



Comments

Popular posts from this blog

Spring Elasticsearch Operations

Object oriented programming concepts (OOPs)

Network Error and Timeout on Authorize.net JS