mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-25 06:19:22 +00:00
Update emoji package
This commit is contained in:
parent
1f3230363e
commit
49a9186978
@ -28,7 +28,7 @@ import 'package:comunic/utils/log_utils.dart';
|
|||||||
import 'package:comunic/utils/ui_utils.dart';
|
import 'package:comunic/utils/ui_utils.dart';
|
||||||
import 'package:comunic/utils/video_utils.dart';
|
import 'package:comunic/utils/video_utils.dart';
|
||||||
import 'package:dio/dio.dart';
|
import 'package:dio/dio.dart';
|
||||||
import 'package:emoji_picker/emoji_picker.dart';
|
import 'package:emoji_picker_flutter/emoji_picker_flutter.dart' as emoji;
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:mime/mime.dart';
|
import 'package:mime/mime.dart';
|
||||||
|
|
||||||
@ -614,16 +614,19 @@ class _ConversationScreenState extends SafeState<ConversationScreen> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
Widget _buildEmojiContainer() => EmojiPicker(
|
Widget _buildEmojiContainer() => Container(
|
||||||
bgColor: _senderColor,
|
height: 200,
|
||||||
indicatorColor: _senderColor,
|
child: emoji.EmojiPicker(
|
||||||
rows: 3,
|
config: emoji.Config(
|
||||||
columns: 7,
|
bgColor: _senderColor,
|
||||||
onEmojiSelected: (emoji, category) {
|
indicatorColor: _senderColor,
|
||||||
_textController.text = _textController.text + emoji.emoji;
|
columns: 8,
|
||||||
},
|
showRecentsTab: false,
|
||||||
recommendKeywords: ["face", "happy", "party", "sad"],
|
),
|
||||||
numRecommended: 50,
|
onEmojiSelected: (category, emoji) {
|
||||||
|
_textController.text = _textController.text + emoji.emoji;
|
||||||
|
},
|
||||||
|
),
|
||||||
);
|
);
|
||||||
|
|
||||||
Widget _buildSendingWidget() => Container(
|
Widget _buildSendingWidget() => Container(
|
||||||
|
42
pubspec.lock
42
pubspec.lock
@ -169,13 +169,13 @@ packages:
|
|||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.0.4"
|
version: "4.0.4"
|
||||||
emoji_picker:
|
emoji_picker_flutter:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
name: emoji_picker
|
name: emoji_picker_flutter
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.0"
|
version: "1.1.2"
|
||||||
event_bus:
|
event_bus:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
@ -652,28 +652,56 @@ packages:
|
|||||||
name: shared_preferences
|
name: shared_preferences
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.5.7+3"
|
version: "2.0.13"
|
||||||
|
shared_preferences_android:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: shared_preferences_android
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "2.0.11"
|
||||||
|
shared_preferences_ios:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: shared_preferences_ios
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "2.1.0"
|
||||||
|
shared_preferences_linux:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: shared_preferences_linux
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "2.1.0"
|
||||||
shared_preferences_macos:
|
shared_preferences_macos:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: shared_preferences_macos
|
name: shared_preferences_macos
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.0.1+11"
|
version: "2.0.3"
|
||||||
shared_preferences_platform_interface:
|
shared_preferences_platform_interface:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: shared_preferences_platform_interface
|
name: shared_preferences_platform_interface
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.4"
|
version: "2.0.0"
|
||||||
shared_preferences_web:
|
shared_preferences_web:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: shared_preferences_web
|
name: shared_preferences_web
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.1.2+7"
|
version: "2.0.3"
|
||||||
|
shared_preferences_windows:
|
||||||
|
dependency: transitive
|
||||||
|
description:
|
||||||
|
name: shared_preferences_windows
|
||||||
|
url: "https://pub.dartlang.org"
|
||||||
|
source: hosted
|
||||||
|
version: "2.1.0"
|
||||||
simple_gesture_detector:
|
simple_gesture_detector:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
@ -25,7 +25,7 @@ dependencies:
|
|||||||
cupertino_icons: ^1.0.0
|
cupertino_icons: ^1.0.0
|
||||||
|
|
||||||
# Preferences are useful for a lot of things (ex: login tokens)
|
# Preferences are useful for a lot of things (ex: login tokens)
|
||||||
shared_preferences: ^0.5.6+3
|
shared_preferences: ^2.0.13
|
||||||
|
|
||||||
# SQLite database is used for caching
|
# SQLite database is used for caching
|
||||||
sqflite: ^2.0.0+2
|
sqflite: ^2.0.0+2
|
||||||
@ -121,7 +121,7 @@ dependencies:
|
|||||||
permission_handler: ^9.2.0
|
permission_handler: ^9.2.0
|
||||||
|
|
||||||
# Emojies picker
|
# Emojies picker
|
||||||
emoji_picker: ^0.1.0
|
emoji_picker_flutter: ^1.1.2
|
||||||
|
|
||||||
# Color picker
|
# Color picker
|
||||||
flutter_colorpicker: ^1.0.3
|
flutter_colorpicker: ^1.0.3
|
||||||
|
Loading…
Reference in New Issue
Block a user