lifx 0.2.1 lifx: ^0.2.1 copied to clipboard
A simple library to interact with LIFX lights. Currently contains 5 methods used to interact with lights.
import 'package:lifx/lifx.dart';
import 'dart:io' show Platform;
void main() {
Map<String, String> envVars = Platform.environment;
var lifx = new LIFX(envVars["DART_LIFX"], loggingEnabled: false);
lifx.setState(brightness: 0.5, color: "red").then((res) => print(res));
}