Desktop support came to Flutter several months ago, but this template only directly supports Android and iOS. btleplug already supports Windows, macOS, and Linux.
Anecdotally, I've gotten a desktop Flutter app working with btleplug by making desktop use the ios module, so adding this feature could be as simple as changing the conditional checks in setup.rs and renaming ios.rs to a more general name.
Desktop support came to Flutter several months ago, but this template only directly supports Android and iOS. btleplug already supports Windows, macOS, and Linux.
Anecdotally, I've gotten a desktop Flutter app working with btleplug by making desktop use the
iosmodule, so adding this feature could be as simple as changing the conditional checks insetup.rsand renamingios.rsto a more general name.