showCometChatEmojiKeyboard function
Public function to show emoji keyboard , returns the tapped emoji
Implementation
Future<String?> showCometChatEmojiKeyboard(
{required BuildContext context,
Color? backgroundColor,
TextStyle? titleStyle,
Color? dividerColor,
TextStyle? categoryLabel,
Color? selectedCategoryIconColor,
Color? unselectedCategoryIconColor}) {
return showModalBottomSheet(
context: context,
isScrollControlled: true,
isDismissible: true,
backgroundColor: Colors.transparent,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(24))),
builder: (context) {
return const EmojiPickerWidget();
},
);
}