You can turn off the flashlight on an iPhone in two different ways, by swiping to the Control Center or (partially) swiping ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible resultsResults that may be inaccessible to you are currently showing.
Hide inaccessible results