v0.1.2
flutter_open_whatsapp
사용자 번호를 저장하지 않고 단일 사용자에게 WhatsApp 메시지를 보내는 새로운 Flutter 플러그인입니다.
87좋아요 6630일 다운로드40Pub 점수
플랫폼 정보 없음
WhatsApp를 열고 단일 번호로 메시지를 보내는 Flutter 플러그인입니다.
{"sdk":"flutter"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A Flutter plugin to open WhatsApp and send message to single number in Android and iOS without saving user's number.
To use the plugin, add 'flutter_open_whatsapp' as a dependency in your pubspec.yaml file.
import 'package:flutter_open_whatsapp/flutter_open_whatsapp.dart';
void main() => runApp(MyApp());
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: MaterialButton(onPressed: (){
FlutterOpenWhatsapp.sendSingleMessage("918179015345", "Hello");
},
child: Text('Running on: $_platformVersion\n'),
)
),
),
);
}
}
Refer to the example directory of flutter app.