chat_call_core 0.2.1+2 chat_call_core: ^0.2.1+2 copied to clipboard
Chat Call Core ADVN
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add chat_call_core
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
chat_call_core: ^0.2.1+2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:chat_call_core/call_core.dart';
import 'package:chat_call_core/core/constaints.dart';
import 'package:chat_call_core/core/local/chat_dao.dart';
import 'package:chat_call_core/core/local/profile_dao.dart';
import 'package:chat_call_core/core/local/sql_chat_dao.dart';
import 'package:chat_call_core/core/models/conversation.dart';
import 'package:chat_call_core/core/models/dto_extensions.dart';
import 'package:chat_call_core/core/models/dtos.dart';
import 'package:chat_call_core/core/models/firebase_notification_model.dart';
import 'package:chat_call_core/core/models/firebase_notification_model.freezed.dart';
import 'package:chat_call_core/core/models/firebase_notification_model.g.dart';
import 'package:chat_call_core/core/models/profile.dart';
import 'package:chat_call_core/core/modules/chat_core/flutter_firebase_chat_core.dart';
import 'package:chat_call_core/core/modules/chat_core/src/firebase_chat_core.dart';
import 'package:chat_call_core/core/modules/chat_core/src/firebase_chat_core_config.dart';
import 'package:chat_call_core/core/modules/chat_core/src/util.dart';
import 'package:chat_call_core/core/modules/chat_types/flutter_chat_types.dart';
import 'package:chat_call_core/core/modules/chat_types/src/call.dart';
import 'package:chat_call_core/core/modules/chat_types/src/call.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/custom_message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/custom_message.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/file_message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/file_message.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/image_message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/image_message.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_custom.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_custom.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_file.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_file.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_image.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_image.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_text.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/partial_text.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/system_message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/system_message.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/text_message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/text_message.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/unsupported_message.dart';
import 'package:chat_call_core/core/modules/chat_types/src/messages/unsupported_message.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/preview_data.dart';
import 'package:chat_call_core/core/modules/chat_types/src/preview_data.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/room.dart';
import 'package:chat_call_core/core/modules/chat_types/src/room.g.dart';
import 'package:chat_call_core/core/modules/chat_types/src/user.dart';
import 'package:chat_call_core/core/modules/chat_types/src/user.g.dart';
import 'package:chat_call_core/core/modules/chat_ui/flutter_chat_ui.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/chat_l10n.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/chat_theme.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/conditional/base_conditional.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/conditional/browser_conditional.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/conditional/conditional.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/conditional/conditional_stub.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/conditional/io_conditional.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/bubble_rtl_alignment.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/date_header.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/emoji_enlargement_behavior.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/input_clear_mode.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/message_spacer.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/pattern_style.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/preview_image.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/send_button_visibility_mode.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/models/unread_header_data.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/util.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/chat.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/chat_list.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/image_gallery.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/input/attachment_button.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/input/input.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/input/input_text_field_controller.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/input/send_button.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/file_message.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/image_message.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/message.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/message_status.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/text_message.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/user_avatar.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/message/user_name.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/patched_sliver_animated_list.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/state/inherited_chat_theme.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/state/inherited_l10n.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/state/inherited_user.dart';
import 'package:chat_call_core/core/modules/chat_ui/src/widgets/unread_header.dart';
import 'package:chat_call_core/core/modules/link_previewer/flutter_link_previewer.dart';
import 'package:chat_call_core/core/modules/link_previewer/src/types.dart';
import 'package:chat_call_core/core/modules/link_previewer/src/url_linkifier.dart';
import 'package:chat_call_core/core/modules/link_previewer/src/utils.dart';
import 'package:chat_call_core/core/modules/link_previewer/src/widgets/link_preview.dart';
import 'package:chat_call_core/helper/call_helper.dart';
import 'package:chat_call_core/helper/connect_helper.dart';
import 'package:chat_call_core/helper/status_helper.dart';
import 'package:chat_call_core/main.dart';
import 'package:chat_call_core/presentation/call/call_bloc.dart';
import 'package:chat_call_core/presentation/call/call_page.dart';
import 'package:chat_call_core/presentation/call/utils/exts.dart';
import 'package:chat_call_core/presentation/call/utils/theme.dart';
import 'package:chat_call_core/presentation/call/widgets/controls.dart';
import 'package:chat_call_core/presentation/call/widgets/no_video.dart';
import 'package:chat_call_core/presentation/call/widgets/participant.dart';
import 'package:chat_call_core/presentation/call/widgets/participant_info.dart';
import 'package:chat_call_core/presentation/call/widgets/text_field.dart';
import 'package:chat_call_core/presentation/chat/firebase/chat.dart';
import 'package:chat_call_core/presentation/chat/local/chat_local_page.dart';
import 'package:chat_call_core/presentation/chat/local/conversations_list_screen.dart';
import 'package:chat_call_core/presentation/chat/local/widgets/conversation_body.dart';
import 'package:chat_call_core/presentation/chat/local/widgets/conversation_header.dart';
import 'package:chat_call_core/presentation/chat/local/widgets/conversation_list.dart';
import 'package:chat_call_core/presentation/chat/local/widgets/conversation_view.dart';
import 'package:chat_call_core/presentation/chat/local/widgets/user_icon.dart';
import 'package:chat_call_core/shared/base/base_bloc.dart';
import 'package:chat_call_core/shared/base/base_bloc_consumer_widget.dart';
import 'package:chat_call_core/shared/base/base_event.dart';
import 'package:chat_call_core/shared/base/base_page.dart';
import 'package:chat_call_core/shared/base/base_state.dart';
import 'package:chat_call_core/shared/base/mixin/base_dialog_mixin.dart';
import 'package:chat_call_core/shared/base/mixin/base_handle_mixin.dart';
import 'package:chat_call_core/shared/base/mixin/connect_internet_mixin.dart';
import 'package:chat_call_core/shared/di/injector.config.dart';
import 'package:chat_call_core/shared/di/injector.dart';
import 'package:chat_call_core/shared/helper/permission_helper.dart';
import 'package:chat_call_core/shared/helper/safe_image.dart';
import 'package:chat_call_core/shared/widget/custom_dialog_warning_one_button.dart';
import 'package:chat_call_core/shared/widget/custom_dialog_warning_two_button.dart';