drago_whatsapp_flutter 0.3.1 copy "drago_whatsapp_flutter: ^0.3.1" to clipboard
drago_whatsapp_flutter: ^0.3.1 copied to clipboard

This plugin will allow to send text, files in the background using whatsapp web

example/lib/main.dart

import 'package:example/home_controller.dart';
import 'package:example/home_view.dart';
import 'package:material_ui/material_ui.dart';
import 'package:get/get.dart';

void main() {
  Get.lazyPut(() => HomeController());
  runApp(
    // material_ui's MaterialApp, not GetMaterialApp: the widgets come from
    // material_ui and look up its MaterialLocalizations, which only its own
    // MaterialApp provides. Get.key keeps Get.dialog / snackbar / back working.
    MaterialApp(
      navigatorKey: Get.key,
      debugShowCheckedModeBanner: false,
      title: "Whatsapp Bot",
      // FlexThemeData builds Flutter's stock ThemeData, which material_ui's
      // MaterialApp can't take; same Genoa green, as a material_ui theme.
      theme: ThemeData(
        useMaterial3: true,
        colorSchemeSeed: const Color(0xFF15786C),
        appBarTheme: const AppBarTheme(elevation: 15),
      ),
      home: const HomeView(),
    ),
  );
}
0
likes
160
points
90
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

This plugin will allow to send text, files in the background using whatsapp web

Repository (GitHub)
View/report issues

License

GPL-3.0 (license)

Dependencies

flutter, flutter_inappwebview, http, mime, zxing2

More

Packages that depend on drago_whatsapp_flutter