laraigo_chat 1.0.4+21 copy "laraigo_chat: ^1.0.4+21" to clipboard
laraigo_chat: ^1.0.4+21 copied to clipboard

An easy flutter implementation of Laraigo's real time chat services with custom designed bots.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add laraigo_chat

With Flutter:

 $ flutter pub add laraigo_chat

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  laraigo_chat: ^1.0.4+21

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:laraigo_chat/core/chat_socket.dart';
import 'package:laraigo_chat/core/pages/chat_page.dart';
import 'package:laraigo_chat/core/widget/media_dialog.dart';
import 'package:laraigo_chat/core/widget/media_input_modal.dart';
import 'package:laraigo_chat/core/widget/message_bubble.dart';
import 'package:laraigo_chat/core/widget/message_buttons.dart';
import 'package:laraigo_chat/core/widget/message_carousel.dart';
import 'package:laraigo_chat/core/widget/message_input.dart';
import 'package:laraigo_chat/core/widget/message_media.dart';
import 'package:laraigo_chat/core/widget/messages_area.dart';
import 'package:laraigo_chat/core/widget/single_media.dart';
import 'package:laraigo_chat/core/widget/socket_action_button.dart';
import 'package:laraigo_chat/core/widget/socket_container.dart';
import 'package:laraigo_chat/core/widget/socket_elevated_button.dart';
import 'package:laraigo_chat/core/widget/socket_text_button.dart';
import 'package:laraigo_chat/helpers/api_manager.dart';
import 'package:laraigo_chat/helpers/color_convert.dart';
import 'package:laraigo_chat/helpers/identifier_type.dart';
import 'package:laraigo_chat/helpers/location_manager.dart';
import 'package:laraigo_chat/helpers/message_type.dart';
import 'package:laraigo_chat/helpers/permissions_handler.dart';
import 'package:laraigo_chat/helpers/sender_type.dart';
import 'package:laraigo_chat/helpers/single_tap.dart';
import 'package:laraigo_chat/helpers/socket_urls.dart';
import 'package:laraigo_chat/model/carousel_button.dart';
import 'package:laraigo_chat/model/color_preference.dart';
import 'package:laraigo_chat/model/custom_metadata.dart';
import 'package:laraigo_chat/model/extra.dart';
import 'package:laraigo_chat/model/form_field.dart';
import 'package:laraigo_chat/model/icons_preference.dart.dart';
import 'package:laraigo_chat/model/integration_response.dart';
import 'package:laraigo_chat/model/message.dart';
import 'package:laraigo_chat/model/message_request.dart';
import 'package:laraigo_chat/model/message_response.dart';
import 'package:laraigo_chat/model/models.dart';
import 'package:laraigo_chat/model/personalization.dart';
import 'package:laraigo_chat/repository/chat_socket_repository.dart';