zendesk_classic 1.0.0 copy "zendesk_classic: ^1.0.0" to clipboard
zendesk_classic: ^1.0.0 copied to clipboard

outdated

A Zendesk plugin is a software extension that integrates with the Zendesk customer support platform, designed to enhance and customize its functionality. Zendesk is a popular customer service and enga [...]

example/lib/main.dart

import 'dart:async';

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:zendesk_classic/zendesk_classic.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  String _platformVersion = 'Unknown';
  final _zendeskClassicPlugin = ZendeskClassic();
  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {
    try {
      await _zendeskClassicPlugin.initZendeskChat('Your Zendesk Account Key',
          barTintColor: 0xFFFF0000,
          tintColor: 0xFFFFFFFF,
          backgroundColor: 0xFF000000,
          botName: 'CompanyName');
    } on PlatformException {
      _platformVersion = "Failed to get platform version";
    }
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: Text('Running on: $_platformVersion\n'),
        ),
      ),
    );
  }
}
8
likes
0
points
8
downloads

Publisher

verified publisheravinashgotluru.me

Weekly Downloads

A Zendesk plugin is a software extension that integrates with the Zendesk customer support platform, designed to enhance and customize its functionality. Zendesk is a popular customer service and engagement platform that helps businesses manage and respond to customer inquiries, requests, and issues across various communication channels like email, chat, social media, and more.

Homepage

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on zendesk_classic

Packages that implement zendesk_classic