carverx5_cnc_plugin 0.0.3
carverx5_cnc_plugin: ^0.0.3 copied to clipboard
Plugin for Carver-X5 firmware
Carver X5 CNC Plugin #
A Flutter plugin for interacting with Carver X5 CNC firmware.
Features #
- Get platform version
- Get available TTY devices
Federated Plugin Structure #
This plugin uses a federated plugin architecture, which consists of the following packages:
- carverx5_cnc_plugin (this package): The app-facing package that developers include in their apps.
- carverx5_cnc_plugin_platform_interface: Defines the common platform interface that all platform implementations must implement.
- carverx5_cnc_plugin_linux: The Linux implementation of the plugin.
Usage #
import 'package:carverx5_cnc_plugin/carverx5_cnc_plugin.dart';
// Create an instance of the plugin
final carverx5CncPlugin = Carverx5CncPlugin();
// Get platform version
String? platformVersion = await carverx5CncPlugin.getPlatformVersion();
// Get available TTY devices
List<String> ttyDevices = await carverx5CncPlugin.getTtyDevices();
Platform Support #
Currently, this plugin only supports Linux.