FLUTTER ECOSYSTEM

mqtt_client

A server and browser based MQTT client for Dart supporting normal, secure sockets and websockets.

Latest version
10.11.11
30-day downloads
57.4K
Likes
544
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The mqtt_client package is a Dart implementation of an MQTT client that enables real-time communication between devices and servers. It supports standard, secure (TLS), and WebSocket connections, making it suitable for both server-side and browser-based applications. Designed for cross-platform use, it works seamlessly across Android, iOS, Web, macOS, Windows, and Linux. Ideal for IoT projects, it facilitates lightweight, publish-subscribe messaging with low latency and high efficiency.

Use cases
  • IoT device communication
  • Real-time data streaming
  • Remote sensor monitoring
  • Smart home automation
  • Live dashboard updates
  • Cloud-to-device messaging
Key features
  • Supports MQTT over TCP, TLS, and WebSockets
  • Cross-platform compatibility
  • Lightweight and efficient
  • Robust connection handling
  • Publish/subscribe messaging model
  • Automatic reconnection
Suitable for
  • IoT developers
  • Real-time application builders
  • Backend services requiring pub/sub
  • Web-based dashboards
  • Mobile apps needing live updates
Considerations
  • Requires proper broker setup
  • May need additional configuration for secure connections
  • Not ideal for high-frequency, low-latency scenarios without tuning
  • Dependent on external MQTT broker availability
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add mqtt_client

Categories

Source repository

Related projects

Rankings