Flutter – Use setState in a for loop
I want to design an application with buttons. The 'odd numbers' button will contain a for loop inside such that when clicked, odd numbers will appear on the screen. I'd like to do similarly for even numbers. > class _MyHomePageState…