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

A new flutter plugin project.

example/lib/main.dart

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

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

void main() {
  runApp(MyApp());
}

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {

  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: GestureDetector(
          onTap: () {
            MessengerLauncher.launchMessenger("100004668092489");
          },
          child: Center(
            child: Text("Open Messenger"),
          ),
        ),
      ),
    );
  }
}
7
likes
90
pub points
73%
popularity

Publisher

verified publisher iconsachinmaharjan.com

A new flutter plugin project.

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on messenger_launcher