facebook_analytics 0.1.4

Flutter Android iOS

Facebook Analytics, flutter package which is used for Facebook analytics and Facebook events.

example/lib/main.dart

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

final facebookAnalytics = FacebookAnalytics();

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: RaisedButton(onPressed: () {
            facebookAnalytics.logEvent(
              name: "test_event",
              parameters: {"value": 10, "subname": "exampleStringValue"},
            );
          }),
        ),
      ),
    );
  }
}
4
likes
100
pub points
74%
popularity

Publisher

mobilemvp.app

Facebook Analytics, flutter package which is used for Facebook analytics and Facebook events.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter

More

Packages that depend on facebook_analytics