Thank God that setting does not persist through reboots!
Seriously though, swipe up from the bottom of the screen and the control center will appear, a button to turn the flashlight on or off should be there.
Seriously though, swipe up from the bottom of the screen and the control center will appear, a button to turn the flashlight on or off should be there.