title: Flutter app needs to check if Bluetooth and Location enabled
body: <p>I'm working with a Flutter app, using a Dart package called flutter_blue to connect to a Bluetooth device. The Bluetooth device connects successfully, but only if the user has Bluetooth and Location enabled on their device. I'm trying to find a way to detect whether Location and Bluetooth is enabled on the device before trying to connect so that I can prompt the user to turn them on. Currently, I'm also using a Dart package that works with native Android intents to bring up the settings menus for each (also working). I just need a way to check if they're enabled so that I know whether to show the settings menus for users to enable them.</p>