carverx5_cnc_plugin_linux 0.0.1
carverx5_cnc_plugin_linux: ^0.0.1 copied to clipboard
Linux implementation of the carverx5_cnc_plugin plugin.
Carver X5 CNC Plugin - Linux Implementation #
The Linux implementation of the carverx5_cnc_plugin.
Features #
This package provides the Linux implementation of the Carver X5 CNC plugin. It includes:
- Native C/C++ code for interacting with Linux-specific APIs
- Dart code that registers the Linux implementation with the platform interface
Usage #
This package is not meant to be used directly. Instead, include the main carverx5_cnc_plugin
package in your pubspec.yaml:
dependencies:
carverx5_cnc_plugin: ^0.0.2
Implementation Details #
The Linux implementation uses Flutter's plugin architecture for Linux, which includes:
- C/C++ code that interacts with the Linux system
- A Dart class that extends the platform interface and registers itself
The implementation provides:
getPlatformVersion()
: Returns the Linux kernel versiongetTtyDevices()
: Scans the /dev directory for TTY devices that match the pattern "ttyRPM"