Flutter Package for Cast control but I think it is back to Dart only 🙂
Based on the Dart only version found at [https://github.com/terrabythia/dart_chromecast]
This version of the package handles Model names. It has a callback so you can update the Flutter UI (or your dart app) if need be.
The supported model names (enum of type CastModel
) are:
- GoogleMini
- GoogleHome
- GoogleMax
- GoogleHub
- ChromeCastAudio
- ChromeCast
- CastGroup
- NonGoogle
CastDevice
also has a comparator now, so you can sort a list of CastDevice
. The order list is:
- Google Home, Google Mini, Google Max, Google Hub
- Chromecast, Chromecast Audio
- Casting Groups, Non-Google devices (ie: Sonos, etc.)