Skip to content
pubscout

wake_on_lan

4.1.1+3, released 3 years ago by jagandeepbrar.io

Send wake-on-LAN magic packets to devices on a local network.

Copyleft license
$ flutter pub add wake_on_lan
Source repository

What it does

Allows you to construct IP and MAC address instances, optionally include a SecureON password, and send Wake-on-LAN magic packets over UDP to wake local network devices.

AI-written summary of version 4.1.1+3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to wake up local computers or devices from your Dart/Flutter application using Wake-on-LAN.
  • You are targeting Android, iOS, Windows, macOS, or Linux platforms.

Skip it when

  • You are targeting web browsers, since UDP sockets are not available in browsers due to security constraints.
  • You need delivery confirmation, as UDP sockets cannot confirm if the machine has been successfully awoken.

Strengths

  • Supports both IPv4 and IPv6 addresses.
  • Supports SecureON password authentication and optional repeated packet sending.

Weaknesses

  • Does not support web platforms because of browser security constraints regarding UDP.
  • Cannot confirm if the target machine has actually been awoken due to the nature of UDP.

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
1

not documented

String address = 'AA:BB:CC:DD:EE:FF';
final validation = MACAddress.validate(address);
if(validation.state) {
  MACAddress mac = MACAddress(address);
}

Alternatives

Packages that do the same job and could replace wake_on_lan.

Works with

Packages commonly used together with wake_on_lan: ones it builds on, ones built on it, and its own family.