mirror of
https://github.com/krille-chan/fluffychat
synced 2024-10-05 12:32:45 +00:00
build: Update emoji picker package
This commit is contained in:
parent
6f9da100a0
commit
97292c1e3a
3 changed files with 27 additions and 18 deletions
|
@ -41,21 +41,30 @@ class ChatEmojiPicker extends StatelessWidget {
|
|||
onEmojiSelected: controller.onEmojiSelected,
|
||||
onBackspacePressed: controller.emojiPickerBackspace,
|
||||
config: Config(
|
||||
backspaceColor: theme.colorScheme.primary,
|
||||
bgColor:
|
||||
Theme.of(context).colorScheme.onInverseSurface,
|
||||
iconColor:
|
||||
theme.colorScheme.primary.withOpacity(0.5),
|
||||
iconColorSelected: theme.colorScheme.primary,
|
||||
indicatorColor: theme.colorScheme.primary,
|
||||
noRecents: const NoRecent(),
|
||||
skinToneDialogBgColor: Color.lerp(
|
||||
theme.colorScheme.background,
|
||||
theme.colorScheme.primaryContainer,
|
||||
0.75,
|
||||
)!,
|
||||
skinToneIndicatorColor:
|
||||
theme.colorScheme.onBackground,
|
||||
emojiViewConfig: EmojiViewConfig(
|
||||
noRecents: const NoRecent(),
|
||||
backgroundColor: Theme.of(context)
|
||||
.colorScheme
|
||||
.onInverseSurface,
|
||||
),
|
||||
bottomActionBarConfig: const BottomActionBarConfig(
|
||||
enabled: false,
|
||||
),
|
||||
categoryViewConfig: CategoryViewConfig(
|
||||
backspaceColor: theme.colorScheme.primary,
|
||||
iconColor:
|
||||
theme.colorScheme.primary.withOpacity(0.5),
|
||||
iconColorSelected: theme.colorScheme.primary,
|
||||
indicatorColor: theme.colorScheme.primary,
|
||||
),
|
||||
skinToneConfig: SkinToneConfig(
|
||||
dialogBackgroundColor: Color.lerp(
|
||||
theme.colorScheme.background,
|
||||
theme.colorScheme.primaryContainer,
|
||||
0.75,
|
||||
)!,
|
||||
indicatorColor: theme.colorScheme.onBackground,
|
||||
),
|
||||
),
|
||||
),
|
||||
StickerPickerDialog(
|
||||
|
|
|
@ -325,10 +325,10 @@ packages:
|
|||
dependency: "direct main"
|
||||
description:
|
||||
name: emoji_picker_flutter
|
||||
sha256: "8506341d62efd116d6fb1481450bffdbac659d3d90d46d9cc610bfae5f33cc54"
|
||||
sha256: "7c6681783e06710608df27be0e38aa4ba73ca1ccac370bb0e7a1320723ae4bca"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "1.6.4"
|
||||
version: "2.1.1"
|
||||
emoji_proposal:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
|
|
@ -22,7 +22,7 @@ dependencies:
|
|||
desktop_notifications: ^0.6.3
|
||||
device_info_plus: ^9.1.0
|
||||
dynamic_color: ^1.6.8
|
||||
emoji_picker_flutter: ^1.6.4
|
||||
emoji_picker_flutter: ^2.1.1
|
||||
emoji_proposal: ^0.0.1
|
||||
emojis: ^0.9.9
|
||||
#fcm_shared_isolate: ^0.1.0
|
||||
|
|
Loading…
Reference in a new issue