awareframework_activityrecognition 0.7.0 copy "awareframework_activityrecognition: ^0.7.0" to clipboard
awareframework_activityrecognition: ^0.7.0 copied to clipboard

An activity recognition library for Flutter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:awareframework_activityrecognition/awareframework_activityrecognition.dart';

void main() => runApp(new MyApp());

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => new _MyAppState();
}

class _MyAppState extends State<MyApp> {
  late ActivityRecognitionSensor sensor;
  late ActivityRecognitionSensorConfig config;

  @override
  void initState() {
    super.initState();

    config = ActivityRecognitionSensorConfig()..debug = true;

    sensor = new ActivityRecognitionSensor(config);
  }

  @override
  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new Scaffold(
        appBar: new AppBar(
          title: const Text('Plugin Example App'),
        ),
        body: Text(""),
      ),
    );
  }
}
0
likes
130
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

An activity recognition library for Flutter.

Documentation

API reference

License

unknown (license)

Dependencies

awareframework_core, flutter

More

Packages that depend on awareframework_activityrecognition

Packages that implement awareframework_activityrecognition