A Flutter plugin for sending infrared (IR) commands on Android, iOS, and other platforms. Supports Wi-Fi, Bluetooth, and infrared connections.
- Send IR commands using the device's built-in infrared emitter (Android only)
Add this to your package's pubspec.yaml file:
dependencies:
flutter_infrared: ^0.0.1Then run flutter pub get.
Import the package:
import 'package:flutter_infrared/flutter_infrared.dart';Send an IR command:
int frequency = 38000;
List<int> pattern = [/* ... */];
await FlutterInfrared.sendCommand(frequency, pattern);
See the example folder for a complete example app demonstrating the plugin's usage.
Platform Support Android ✅
Contributions are welcome! Feel free to open issues or submit pull requests.
This plugin is licensed under the MIT License.