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

outdated

Reactive Bluetooth low energy (BLE) plugin that can communicate with multiple devices

example/lib/main.dart

import 'package:flutter/material.dart';

import 'src/utils.dart';
import 'ui/device_list.dart';

const _themeColor = Colors.lightGreen;

void main() {
  FlutterError.onError = (error) {
    log("An error occurred: ${error.exception}");
    log(error.stack.toString());
  };

  runApp(const FlutterReactiveBleExampleApp());
}

class FlutterReactiveBleExampleApp extends StatelessWidget {
  const FlutterReactiveBleExampleApp();

  @override
  Widget build(BuildContext context) => MaterialApp(
        title: 'Flutter Reactive BLE example',
        color: _themeColor,
        theme: ThemeData(primarySwatch: _themeColor),
        home: const DeviceList(),
      );
}
584
likes
0
pub points
97%
popularity

Publisher

verified publishermeethue.com

Reactive Bluetooth low energy (BLE) plugin that can communicate with multiple devices

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, functional_data, meta, protobuf

More

Packages that depend on flutter_reactive_ble