build_daemon 4.0.2 copy "build_daemon: ^4.0.2" to clipboard
build_daemon: ^4.0.2 copied to clipboard

A daemon for running Dart builds.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add build_daemon

With Flutter:

 $ flutter pub add build_daemon

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

dependencies:
  build_daemon: ^4.0.2

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:build_daemon/change_provider.dart';
import 'package:build_daemon/client.dart';
import 'package:build_daemon/constants.dart';
import 'package:build_daemon/daemon.dart';
import 'package:build_daemon/daemon_builder.dart';
import 'package:build_daemon/data/build_request.dart';
import 'package:build_daemon/data/build_request.g.dart';
import 'package:build_daemon/data/build_status.dart';
import 'package:build_daemon/data/build_status.g.dart';
import 'package:build_daemon/data/build_target.dart';
import 'package:build_daemon/data/build_target.g.dart';
import 'package:build_daemon/data/build_target_request.dart';
import 'package:build_daemon/data/build_target_request.g.dart';
import 'package:build_daemon/data/serializers.dart';
import 'package:build_daemon/data/serializers.g.dart';
import 'package:build_daemon/data/server_log.dart';
import 'package:build_daemon/data/server_log.g.dart';
import 'package:build_daemon/data/shutdown_notification.dart';
import 'package:build_daemon/data/shutdown_notification.g.dart';