dart_chromecast 0.3.3 copy "dart_chromecast: ^0.3.3" to clipboard
dart_chromecast: ^0.3.3 copied to clipboard

Pure dart package to cast videos to your ChromeCast device and control their playback

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_chromecast

With Flutter:

 $ flutter pub add dart_chromecast

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

dependencies:
  dart_chromecast: ^0.3.3

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dart_chromecast/casting/cast.dart';
import 'package:dart_chromecast/casting/cast_channel.dart';
import 'package:dart_chromecast/casting/cast_device.dart';
import 'package:dart_chromecast/casting/cast_media.dart';
import 'package:dart_chromecast/casting/cast_media_status.dart';
import 'package:dart_chromecast/casting/cast_sender.dart';
import 'package:dart_chromecast/casting/cast_session.dart';
import 'package:dart_chromecast/casting/connection_channel.dart';
import 'package:dart_chromecast/casting/heartbeat_channel.dart';
import 'package:dart_chromecast/casting/interfaces/log_interface.dart';
import 'package:dart_chromecast/casting/media_channel.dart';
import 'package:dart_chromecast/casting/receiver_channel.dart';
import 'package:dart_chromecast/proto/cast_channel.pb.dart';
import 'package:dart_chromecast/proto/cast_channel.pbenum.dart';
import 'package:dart_chromecast/proto/cast_channel.pbjson.dart';
import 'package:dart_chromecast/proto/cast_channel.pbserver.dart';
import 'package:dart_chromecast/utils/mdns_find_chromecast.dart';
import 'package:dart_chromecast/writer.dart';
51
likes
140
points
69
downloads

Publisher

unverified uploader

Weekly Downloads

Pure dart package to cast videos to your ChromeCast device and control their playback

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

args, cli_util, http, logging, multicast_dns, protobuf, universal_io, xml

More

Packages that depend on dart_chromecast