haivaagent 1.0.0+4 haivaagent: ^1.0.0+4 copied to clipboard
Haivachat screen package for agent chat functionality.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add haivaagent
With Flutter:
$ flutter pub add haivaagent
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
haivaagent: ^1.0.0+4
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:haivaagent/constants.dart';
import 'package:haivaagent/haiva-flow/chatbubble_haiva.dart';
import 'package:haivaagent/haiva-flow/customcomponenthaiva.dart';
import 'package:haivaagent/haiva-flow/customcomponentmobile.dart';
import 'package:haivaagent/haiva-flow/flow_chat_haiva.dart';
import 'package:haivaagent/haivaScreen_pkg.dart';
import 'package:haivaagent/handler/customcomponent.dart';
import 'package:haivaagent/main.dart';
import 'package:haivaagent/model/agent_detail.dart';
import 'package:haivaagent/model/responsemsg.dart';
import 'package:haivaagent/model/welcomemessage.dart';
import 'package:haivaagent/service/agent_service.dart';
import 'package:haivaagent/service/audio_service.dart';
import 'package:haivaagent/service/haivaservice.dart';
import 'package:haivaagent/service/service.dart';
import 'package:haivaagent/service/tts.dart';
import 'package:haivaagent/statemanagement/chatstate.dart';
import 'package:haivaagent/theme/colortheme.dart';
import 'package:haivaagent/theme/queryparamlistner.dart';
import 'package:haivaagent/theme/texttheme.dart';
import 'package:haivaagent/widget/bubble.dart';
import 'package:haivaagent/widget/button.dart';
import 'package:haivaagent/widget/chart.dart';
import 'package:haivaagent/widget/chatbubble.dart';
import 'package:haivaagent/widget/dropdown.dart';
import 'package:haivaagent/widget/form.dart';
import 'package:haivaagent/widget/latexselectable.dart';
import 'package:haivaagent/widget/radio.dart';
import 'package:haivaagent/widget/selecthtml.dart';
import 'package:haivaagent/widget/selectmarkdown.dart';
import 'package:haivaagent/widget/table.dart';
import 'package:haivaagent/widget/textfield.dart';