Question: do flashlights work in space?
Answer: Provided that they don't hit anything, each individual photon travels through space forever. ... So few photons hit your eye at any one time that you cannot detect the flashlight. So the answer to your question is, "It depends on both the flashlight and on the size of your 'eye'".