|
|
|
|
@ -40,19 +40,11 @@ class ChatEmojiPicker extends StatelessWidget {
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
Expanded(
|
|
|
|
|
child:
|
|
|
|
|
// #Pangea
|
|
|
|
|
// Display the button to close the emoji picker
|
|
|
|
|
// over the emoji picker
|
|
|
|
|
Stack(
|
|
|
|
|
children: [
|
|
|
|
|
// Pangea#
|
|
|
|
|
TabBarView(
|
|
|
|
|
child: TabBarView(
|
|
|
|
|
children: [
|
|
|
|
|
EmojiPicker(
|
|
|
|
|
onEmojiSelected: controller.onEmojiSelected,
|
|
|
|
|
onBackspacePressed:
|
|
|
|
|
controller.emojiPickerBackspace,
|
|
|
|
|
onBackspacePressed: controller.emojiPickerBackspace,
|
|
|
|
|
config: Config(
|
|
|
|
|
emojiViewConfig: EmojiViewConfig(
|
|
|
|
|
noRecents: const NoRecent(),
|
|
|
|
|
@ -66,10 +58,9 @@ class ChatEmojiPicker extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
categoryViewConfig: CategoryViewConfig(
|
|
|
|
|
backspaceColor: theme.colorScheme.primary,
|
|
|
|
|
iconColor: theme.colorScheme.primary
|
|
|
|
|
.withOpacity(0.5),
|
|
|
|
|
iconColorSelected:
|
|
|
|
|
theme.colorScheme.primary,
|
|
|
|
|
iconColor:
|
|
|
|
|
theme.colorScheme.primary.withOpacity(0.5),
|
|
|
|
|
iconColorSelected: theme.colorScheme.primary,
|
|
|
|
|
indicatorColor: theme.colorScheme.primary,
|
|
|
|
|
),
|
|
|
|
|
skinToneConfig: SkinToneConfig(
|
|
|
|
|
@ -98,26 +89,16 @@ class ChatEmojiPicker extends StatelessWidget {
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
|
|
|
|
|
),
|
|
|
|
|
// #Pangea
|
|
|
|
|
Positioned(
|
|
|
|
|
bottom: 20,
|
|
|
|
|
left: 0,
|
|
|
|
|
right: 0,
|
|
|
|
|
child: Row(
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.center,
|
|
|
|
|
children: [
|
|
|
|
|
FloatingActionButton(
|
|
|
|
|
Padding(
|
|
|
|
|
padding: const EdgeInsets.only(bottom: 14.0, top: 2.0),
|
|
|
|
|
child: FloatingActionButton(
|
|
|
|
|
onPressed: controller.hideEmojiPicker,
|
|
|
|
|
shape: const CircleBorder(),
|
|
|
|
|
mini: true,
|
|
|
|
|
child: const Icon(Icons.close),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
),
|
|
|
|
|
// Pangea#
|
|
|
|
|
],
|
|
|
|
|
|