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

Hibernate Search - Elasticsearch with JSON manipulation

Today Walkin 14th-Sept