Unfortunately, that's impossible as it is cooked inside the settings application.
I did recreate it for my own use in development, however. (Not as a widget or an application tho)
But even if you get it, it doesn't use android's APIs to turn the flashlight on, i.e. it will only work on the recent Samsung devices (s3 and above) which have Samsung's frameworks.
It also means that it won't work on AOSP ROMs regardless of the device.