facebook_analytics 0.1.4 copy "facebook_analytics: ^0.1.4" to clipboard
facebook_analytics: ^0.1.4 copied to clipboard

discontinued

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"},
            );
          }),
        ),
      ),
    );
  }
}
8
likes
40
pub points
0%
popularity

Publisher

verified publisherbednarczuk.dev

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

Repository (GitHub)
View/report issues

License

BSD-2-Clause (license)

Dependencies

flutter

More

Packages that depend on facebook_analytics