Skip to main content

truhuddle_widget 2.0.0 copy "truhuddle_widget: ^2.0.0" to clipboard
truhuddle_widget: ^2.0.0 copied to clipboard

TruHuddle customer support for Flutter using the hosted widget with live messaging, voice notes and workspace settings.

example/lib/main.dart

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

void main() => runApp(const MaterialApp(home: SupportExample()));

class SupportExample extends StatelessWidget {
  const SupportExample({super.key});
  @override
  Widget build(BuildContext context) => Scaffold(
    appBar: AppBar(title: const Text('Support')),
    body: Center(
      child: FilledButton(
        onPressed: () => TruhuddleWidget.open(
          context,
          options: TruhuddleOptions(
            appId: const String.fromEnvironment(
              'TRUHUDDLE_APP_ID',
              defaultValue:
                  'appid_000000000000000000000000000000000000000000000000',
            ),
            // Optional guest profile, supplied by your app.
            name: 'Amara Johnson',
            email: 'amara@example.com',
          ),
        ),
        child: const Text('Contact support'),
      ),
    ),
  );
}
0
likes
0
points
1.14k
downloads

Publisher

unverified uploader

Weekly Downloads

TruHuddle customer support for Flutter using the hosted widget with live messaging, voice notes and workspace settings.

Homepage

Funding

Consider supporting this project:

truhuddle.com

License

unknown (license)

Dependencies

flutter, image_picker, package_info_plus, permission_handler, url_launcher, webview_flutter, webview_flutter_android

More

Packages that depend on truhuddle_widget