v0.1.2
flutter_open_whatsapp
사용자 번호를 저장하지 않고 단일 사용자에게 WhatsApp 메시지를 보내는 새로운 Flutter 플러그인입니다.
87좋아요 16430일 다운로드40Pub 점수
플랫폼 정보 없음
WhatsApp를 열고 단일 번호로 메시지를 보내는 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.
의존성 목록 2 개
{"sdk":"flutter"}{"sdk":"flutter"}사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗