facebook_app_events 0.4.0 copy "facebook_app_events: ^0.4.0" to clipboard
facebook_app_events: ^0.4.0 copied to clipboard

outdated

Flutter plugin for Facebook App Events, an app measurement solution that provides insight on app usage and user engagement on Android and iOS.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  static final facebookAppEvents = FacebookAppEvents();
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: RaisedButton(
            color: Colors.green,
            child: Text("Click me!"),
            onPressed: () {
              facebookAppEvents.logEvent(
                name: 'button_clicked',
                parameters: {
                  'button_id': 'the_clickme_button',
                },
              );
            },
          ),
        ),
      ),
    );
  }
}
256
likes
0
pub points
98%
popularity

Publisher

verified publisheroddbit.id

Flutter plugin for Facebook App Events, an app measurement solution that provides insight on app usage and user engagement on Android and iOS.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on facebook_app_events