claid 0.6.2 claid: ^0.6.2 copied to clipboard
CLAID is a flexible and modular middleware framework based on transparent computing. CLAID allows to build applications for mobile (Android, WearOS, iOS*) and regular (Linux, macOS) operating systems, [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add claid
With Flutter:
$ flutter pub add claid
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
claid: ^0.6.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:claid/CLAID.dart';
import 'package:claid/RemoteFunction/AbstractRPCCompleter.dart';
import 'package:claid/RemoteFunction/FutureHandler.dart';
import 'package:claid/RemoteFunction/FutureUniqueIdentifier.dart';
import 'package:claid/RemoteFunction/FuturesTable.dart';
import 'package:claid/RemoteFunction/RPCCompleter.dart';
import 'package:claid/RemoteFunction/RemoteFunction.dart';
import 'package:claid/RemoteFunction/RemoteFunctionHandler.dart';
import 'package:claid/RemoteFunction/RemoteFunctionRunnable.dart';
import 'package:claid/RemoteFunction/RemoteFunctionRunnableHandler.dart';
import 'package:claid/RemoteFunction/RemoteFunctionRunnableResult.dart';
import 'package:claid/claid_core_bindings_generated.dart';
import 'package:claid/dispatcher.dart';
import 'package:claid/generated/claidservice.pb.dart';
import 'package:claid/generated/claidservice.pbenum.dart';
import 'package:claid/generated/claidservice.pbgrpc.dart';
import 'package:claid/generated/claidservice.pbjson.dart';
import 'package:claid/generated/google/protobuf/empty.pb.dart';
import 'package:claid/generated/google/protobuf/empty.pbenum.dart';
import 'package:claid/generated/google/protobuf/empty.pbjson.dart';
import 'package:claid/generated/google/protobuf/struct.pb.dart';
import 'package:claid/generated/google/protobuf/struct.pbenum.dart';
import 'package:claid/generated/google/protobuf/struct.pbjson.dart';
import 'package:claid/generated/google/protobuf/timestamp.pb.dart';
import 'package:claid/generated/google/protobuf/timestamp.pbenum.dart';
import 'package:claid/generated/google/protobuf/timestamp.pbjson.dart';
import 'package:claid/generated/layerdata.pb.dart';
import 'package:claid/generated/layerdata.pbenum.dart';
import 'package:claid/generated/layerdata.pbjson.dart';
import 'package:claid/generated/sensor_data_types.pb.dart';
import 'package:claid/generated/sensor_data_types.pbenum.dart';
import 'package:claid/generated/sensor_data_types.pbjson.dart';
import 'package:claid/logger/Logger.dart';
import 'package:claid/middleware.dart';
import 'package:claid/mocks.dart';
import 'package:claid/module/channel.dart';
import 'package:claid/module/channel_access_rights.dart';
import 'package:claid/module/channel_data.dart';
import 'package:claid/module/module.dart';
import 'package:claid/module/module_factory.dart';
import 'package:claid/module/module_manager.dart';
import 'package:claid/module/properties.dart';
import 'package:claid/module/type_mapping.dart';
import 'package:claid/package/CLAIDPackage.dart';
import 'package:claid/package/CLAIDPackageAnnotation.dart';
import 'package:claid/package/CLAIDPackageLoader.dart';
import 'package:claid/ui/CLAIDModuleList.dart';
import 'package:claid/ui/CLAIDModuleListView.dart';
import 'package:claid/ui/CLAIDModuleView.dart';
import 'package:claid/ui/CLAIDModuleViewToClassMap.dart';
import 'package:claid/ui/CLAIDView.dart';
import 'package:claid/ui/DataReceiver.dart';
import 'package:claid/ui/EmptyDefaultDeviceView.dart';
import 'package:claid/ui/FittedText.dart';
import 'package:claid/ui/MappedModule.dart';
import 'package:claid/ui/SelectableDeviceViewWidget.dart';