messenger_launcher 0.0.1 icon indicating copy to clipboard operation
messenger_launcher: ^0.0.1 copied to clipboard

[pending analysis]

A new flutter plugin project.

messenger_launcher #

A new flutter plugin project for launching messenger.

Installation #

First, add messenger_launcher as a dependency in your pubspec.yaml file.

iOS #

Add the following entry to your Info.plist file, located in


Example #

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

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

class MyApp extends StatefulWidget {
  _MyAppState createState() => new _MyAppState();

class _MyAppState extends State<MyApp> {

  initState() {

  void openMessenger() async {
    await MessengerLauncher.launchMessenger("messengerId");

  Widget build(BuildContext context) {
    return new MaterialApp(
      home: new Scaffold(
        appBar: new AppBar(
          title: new Text('Plugin example app'),
        body: new Center(
          child: FlatButton(
            child: Text("Open Messenger"),
            onPressed: () {