intercom_carrousel 0.1.1 copy "intercom_carrousel: ^0.1.1" to clipboard
intercom_carrousel: ^0.1.1 copied to clipboard

Plugin to show intercom carrousels

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:intercom_carrousel/intercom_carrousel.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'),
          ),
        ),
      ),
    );
  }
}
2
likes
30
pub points
0%
popularity

Publisher

unverified uploader

Plugin to show intercom carrousels

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on intercom_carrousel