Skip to content

Commit

Permalink
combine chat_core_type, link_previewer, and chat_core into one projec…
Browse files Browse the repository at this point in the history
…t chat_ui for simplicity
  • Loading branch information
amsyary committed Jan 2, 2024
1 parent 21b0aae commit a04854d
Show file tree
Hide file tree
Showing 54 changed files with 3,316 additions and 35 deletions.
2 changes: 1 addition & 1 deletion doc/advanced-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ import 'dart:convert';
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:file_picker/file_picker.dart';
import 'package:flutter_chat_types/flutter_chat_types.dart' as types;
import 'package:flutter_chat_ui/src/types/types_export.dart' as types;
import 'package:flutter_chat_ui/flutter_chat_ui.dart';
import 'package:image_picker/image_picker.dart';
import 'package:open_file/open_file.dart';
Expand Down
2 changes: 1 addition & 1 deletion doc/basic-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Try to write any URL, for example, `flyer.chat`, it should be unwrapped in a ric
import 'dart:convert';
import 'dart:math';
import 'package:flutter/material.dart';
import 'package:flutter_chat_types/flutter_chat_types.dart' as types;
import 'package:flutter_chat_ui/src/types/types_export.dart' as types;
import 'package:flutter_chat_ui/flutter_chat_ui.dart';
// For the testing purposes, you should probably use https://pub.dev/packages/uuid
Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import 'dart:convert';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart' show rootBundle;
import 'package:flutter_chat_types/flutter_chat_types.dart' as types;
import 'package:flutter_chat_ui/src/types/types_export.dart' as types;
import 'package:flutter_chat_ui/flutter_chat_ui.dart';
import 'package:image_picker/image_picker.dart';
import 'package:intl/date_symbol_data_local.dart';
Expand Down
6 changes: 2 additions & 4 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
publish_to: "none" # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
Expand All @@ -30,15 +30,14 @@ dependencies:
flutter:
sdk: flutter


# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.4
file_picker: ^4.4.0
flutter_chat_ui:
path: ../
image_picker: ^0.8.4+9
intl: ^0.17.0
intl: ^0.19.0
mime: ^1.0.1
open_file: ^3.2.1
uuid: ^3.0.5
Expand All @@ -59,7 +58,6 @@ dev_dependencies:

# The following section is specific to Flutter.
flutter:

# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
Expand Down
2 changes: 2 additions & 0 deletions lib/flutter_chat_ui.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ export 'src/widgets/input.dart';
export 'src/widgets/message.dart';
export 'src/widgets/send_button.dart';
export 'src/widgets/text_message.dart';
export 'src/core/firebase_chat_core.dart';
export 'src/core/firebase_chat_core_config.dart';
Loading

0 comments on commit a04854d

Please sign in to comment.