esp_softap_provisioning 1.0.1 copy "esp_softap_provisioning: ^1.0.1" to clipboard
esp_softap_provisioning: ^1.0.1 copied to clipboard

A Flutter plugin for provisioning ESP32 modules with SoftAP

example/lib/main.dart

import 'package:esp_softap_provisioning_example/softap_screen/softap_screen.dart';
import 'package:flutter/material.dart';

typedef ItemTapCallback = void Function(Map<String, dynamic> item);

void main() {
  runApp(MaterialApp(home: HomeScreen()));
}

class HomeScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          backgroundColor: Colors.lightBlue,
          title: const Text('ESP SoftAp Provisioning'),
        ),
        body: Center(
          child: MaterialButton(
            color: Colors.lightBlueAccent,
            elevation: 5,
            padding: EdgeInsets.all(15.0),
            shape: RoundedRectangleBorder(
                borderRadius: BorderRadius.all(Radius.circular(5))),
            onPressed: () {
              Navigator.push(
                  context,
                  MaterialPageRoute(
                      builder: (BuildContext context) => SoftApScreen()));
            },
            child: Text(
              'Start Provisioning',
              style: Theme.of(context)
                  .textTheme
                  .headline6
                  .copyWith(color: Colors.white),
            ),
          ),
        ));
  }
}
8
likes
30
pub points
51%
popularity

Publisher

unverified uploader

A Flutter plugin for provisioning ESP32 modules with SoftAP

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, cryptography, flutter, http, logger, protobuf, string_validator

More

Packages that depend on esp_softap_provisioning