Provides a client to access lxd, which allows you to manage containers on a Linux system.
import 'package:lxd/lxd.dart';
var client = LxdClient();
client.close();
We welcome contributions! See the contribution guide for more details.
Run this command:
With Dart:
$ dart pub add lxd
With Flutter:
$ flutter pub add lxd
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
lxd: ^0.0.1
Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Now in your Dart code, you can use:
import 'package:lxd/lxd.dart';
import 'package:lxd/lxd.dart';
void main() async {
var client = LxdClient();
client.close();
}