I don’t remember where I saw it not long ago, but someone had had inquired about a magnetic control or something similar for adjusting the level of output on a flashlight.
I found a rheostat controller from this company, although the light is not a budget light, the technology is out there for an easy output controller and on/off switch all in one unit.