Provides a client to access lxd, which allows you to manage containers on a Linux system.

Example

import 'package:lxd/lxd.dart';

var client = LxdClient();
client.close();

Contributing to lxd.dart

We welcome contributions! See the contribution guide for more details.

Use this package as a library

Depend on it

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.

Import it

Now in your Dart code, you can use:

import 'package:lxd/lxd.dart';

example/example.dart

import 'package:lxd/lxd.dart';

void main() async {
  var client = LxdClient();
  client.close();
}

#fluter  #dart #mobile-apps #morioh 

Provides a Client to Access Lxd
1.40 GEEK