Flutter / converting TextEdittingController text to integer
im trying to convert my text from TextFormField to an integer for example i insert '3' as string but i need to convert it to Int here is my code just focus on duration variable thats what i want it…