As someone who grew up in the era before mobile phones, it truly is strange to see devices that do roughly everything Captain Kirk's communicator could do. But in my lifetime, and available to average people.
I find it amusing that Star Trek didn't anticipate communicators or tricorders having a flashlight function like our phones do. When they need lights, they either carry special-purpose ones or shoot a rock with a phaser to make it glow. Generously, maybe someone did think of it, but it would have been too difficult to make a prop with a bright enough light source.
My flashlights have adjustable beams. They throw out many times more light than my phone's flashlight. Using the dedicated flashlight gives a way better lighting experience than using my phone's flashlight. But it is like cameras, the best flashlight is the one on you.