cast_plus 2.2.0
cast_plus: ^2.2.0 copied to clipboard
A fork of the `cast` package to support Chromecast discovery and control, updated to work with bonsoir 6.x and Dart 3
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add cast_plusThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
cast_plus: ^2.2.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:cast_plus/cast.dart';
import 'package:cast_plus/cast_channel/cast_channel.pb.dart';
import 'package:cast_plus/cast_channel/cast_channel.pbenum.dart';
import 'package:cast_plus/cast_channel/cast_channel.pbjson.dart';
import 'package:cast_plus/cast_channel/cast_channel.pbserver.dart';
import 'package:cast_plus/device.dart';
import 'package:cast_plus/discovery_service.dart';
import 'package:cast_plus/session.dart';
import 'package:cast_plus/session_manager.dart';
import 'package:cast_plus/socket.dart';