Hi,
as it is the first time using the forum, read the topic.
" How to get the best out of this forum "
Then correct your post by putting the code between the </> tags.
And also correct your code because it has syntax error. It doesn't compile as is.
What happens when you run that? As @ruilviana points out, that won't compile.
Make sure that your button has either a pullup or a pulldown or it won't be reliable. Ideally connect it between the pin and GND and set the configuration to INPUT_PULLUP instead of INPUT.
you use a library for stepper-motors that offers background step-pulse-creation.
This hsort answer does not help very much - I know.
A stepper-motor driven by the stepper.h-library needs a step-pulse for each step the stepper-motor shall do. Otherwise you would have no control over the stepper-motor.
This means you have to let void loop looping for 20 seconds.
This requires non-blocking timing which is described here.