Welcome to Android Central! The phone doesn't come with a flashlight widget to place on the homescreen. But you can install this one:
Flashlight Widget. When looking for 3rd party flashlight apps, it's important to pay close attention to the permissions it requests, and look through the reviews, because this category of apps is notorious for tons of ads, as well as shady behavior (like asking for way too many permissions than a flashlight app needs). The only permission a flashlight app needs is Camera, since the LED flash is part of the camera module.