flutter_smartconfig

Quick network config for esp8266/esp32 modules~

This a basically a plain port of react-native-smartconfig with latest esptouch native implements from ESP Touch APP

Getting Started

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Usage

Just put your ssid, bssid and pass word to Smartconfig.start and wait the async return.

void main() async {
  Smartconfig.start("Kittenbot", "78:44:fd:72:7e:68", "kittenbot123").then((onValue){
    print("sm version $onValue");  
  });
}

The bssid is necessary so you may want to use connectivity plugin

Libraries

smartconfig

Dart

VM

dart:ffi
Foreign Function Interface for interoperability with the C programming language. [...]

Web

dart:html
HTML elements and other resources for web-based applications that need to interact with the browser and the DOM (Document Object Model). [...]
dart:js
Low-level support for interoperating with JavaScript. [...]
dart:js_util
Utility methods to efficiently manipulate typed JSInterop objects in cases where the name to call is not known at runtime. You should only use these methods when the same effect cannot be achieved with @JS annotations. These methods would be extension methods on JSObject if Dart supported extension methods.