cast_plus 2.2.0 copy "cast_plus: ^2.2.0" to clipboard
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_plus

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  cast_plus: ^2.2.0

Alternatively, 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';
2
likes
140
points
58
downloads

Publisher

unverified uploader

Weekly Downloads

A fork of the `cast` package to support Chromecast discovery and control, updated to work with bonsoir 6.x and Dart 3

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

bonsoir, flutter, protobuf

More

Packages that depend on cast_plus