How to turn on the flashlight on an Android using Quick Settings
Follow the steps mentioned in the next page to turn on/off the flashlight:
How to turn on the flashlight on an Android using Google Assistant
Open the Assistant app, then go to “Assistant settings”.
Once it opens, look for “Popular settings” and then tap on “Voice Match”.
Now turn on Google Assistant.
Now if the pop-up says to talk then say “Turn off the flashlight”, but if it doesn't then say “Ok, Google”.
After Google assistant understands you, it will turn off the flashlight directly.
Open your smartphone and lift it down from the top of the screen.From these options, look for the flashlight icon.Tap on the flashlight icon to turn it on/off.
How to turn on the flashlight on some Androids using a gesture