Overview
flutter_gpiod is a Dart package that enables low-level GPIO (General Purpose Input/Output) access on Linux and Android devices via the GPIO character device interface. It requires root access on Android and is designed for IoT applications needing direct hardware control. The package supports edge-triggered signal listening, configuration of active high/low states, open-drain/open-source modes, and optional bias settings where supported by the underlying platform. It's ideal for developers building embedded or hardware-integrated Flutter apps with precise GPIO control.
Use cases
- Hardware control in IoT devices
- Real-time sensor input monitoring
- Actuator control via GPIO pins
- Embedded system development
- Custom hardware integration
Key features
- GPIO character device interface access
- Edge-triggered signal listening
- Active state configuration
- Open drain/source support
- Bias setting (platform-dependent)
- Root access required on Android
Suitable for
- IoT developers
- Embedded systems engineers
- Hardware-focused Flutter projects
- Linux-based device applications
- Android app developers with root privileges
Considerations
- Requires root access on Android
- Limited to Linux and Android platforms
- Platform-dependent bias support
- Not suitable for standard mobile apps
- No iOS or macOS GPIO access without additional hardware