FLUTTER ECOSYSTEM

flutter_gpiod

Dart package for accessing GPIO using the GPIO character device interface on linux / Android (root required). Supports signal edge listening, active state, open source/drain and (if supported by platform) bias.

Latest version
0.6.0
30-day downloads
184
Likes
38
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

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
Supported platformsAndroidiOSmacOSWindowsLinux

Install package

flutter pub add flutter_gpiod

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects

No data available yet.