cxgenie 0.0.1
cxgenie: ^0.0.1 copied to clipboard
The cxgenie Flutter Package seamlessly integrates https://cxgenie.ai cutting-edge Conversational AI and NLP capabilities into Flutter apps. Effortlessly deploy chatbots, leverage multilingual support, [...]
CXGenie #
CXGenie is a flutter package for CXGenie
Installation #
- Add the latest version of package to your pubspec.yaml (and run
dart pub get):
dependencies:
cxgenie: ^0.0.1
- Import the package and use it in your Flutter App.
import 'package:cxgenie/cxgenie.dart';
Example #
There are a number of properties that you can modify:
- virtualAgentId
- userToken
- showChatWithAgent
- onChatWithAgentClick
class Example extends StatelessWidget {
const Example({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
body: Center(
child: const Cxgenie(
virtualAgentId: 'string',
userToken: 'string',
showChatWithAgent: true,
onChatWithAgentClick: (),
),
),
);
}
}