I've had a terrible experience with all sorts of LED flashlights. The main issue is their fake water resistance. God knows why they make them so shabby.
If you want good LED flashlights, go to illuminationgear.com
Their eagletac LED lights are tough enough for dunking, but won't float. I dropped one in deep water and watched it sink. That was a sinking feeling, knowing I wasn't going after it, and the LED light was still on as it went deeper, and was out of sight in a minute or so.
On a boat, I recommend sticking them in a pool noodle so they have some buoyancy. I've been using Eagletac lights for over 10 years now, and have had very few problems.
The USAF dropped one out of a helo at 1000 feet and it survived without damage. Landed end first in the sand with the IR light still on, making it easy to find.
Back when my kids were kids, we would toss one in the deep end of the pool and have them retrieve it. Not the intended purpose, but they had no problem with getting dunked in the pool.
If you go for most cheap lights, their design criteria is beating a price point. They take all sorts of shortcuts to get a cheap light you can sell for under $20 or so. The circuitry will overheat. The switches will leak and burn up. The batteries are not spring isolated. On those lights, dropping the light turns the battery into a sledge hammer which often cracks the circuit board, since the positive lead often contacts the board directly, with a spring at the back negative end. All Eagletac lights have springs on both ends and that isolates the battery weight from the circuitry. They also have o-ring seals on all openings, and the light comes with spare seals if you use it in sandy environments. And they have a great warranty..
The newer lights have USB-C charge ports in the side, so you no longer need to open the light to remove the battery to charge it. it blinks one of the buttons to indicate how much charge the battery has when you first turn it on.
I am not affiliated with Eagletac or Illumination Gear in any way. Just glad they make good products. There is at least one light in each car, and one in my pocket, always.