build method
Use an index to define which one should have border using a state
Then u can change the bordered index within setState
In ur map use
state.selectedIndex == i ? border(..) : border.none
Should i send my code here please?
Thanks alot, i got it using your explanations. it works like charm😊
Обсуждают сегодня