intercom_flutter 2.3.2 copy "intercom_flutter: ^2.3.2" to clipboard
intercom_flutter: ^2.3.2 copied to clipboard

outdated

Flutter plugin for Intercom integration. Provides in-app messaging and help-center Intercom services

example/lib/main.dart

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

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await Intercom.initialize(
    'appId',
    androidApiKey: 'androidApiKey',
    iosApiKey: 'iosApiKey',
  );
  runApp(SampleApp());
}

class SampleApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Intercom example app'),
        ),
        body: Center(
          child: FlatButton(
            onPressed: () {
              Intercom.displayMessenger();
            },
            child: Text('Show messenger'),
          ),
        ),
      ),
    );
  }
}
132
likes
0
pub points
97%
popularity

Publisher

verified publisherintercom.deepakdroid.xyz

Flutter plugin for Intercom integration. Provides in-app messaging and help-center Intercom services

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on intercom_flutter