getBlockUserOption static method

CometChatDetailsOption getBlockUserOption(
  1. BuildContext context, {
  2. CometChatTheme? theme,
})

Implementation

static CometChatDetailsOption getBlockUserOption(BuildContext context,
    {CometChatTheme? theme}) {
  return CometChatDetailsOption(
    id: UserOptionConstants.blockUser,
    title: Translations.of(context).blockUser,
    packageName: UIConstants.packageName,
    titleStyle: _getSecondaryGroupOptionTextStyle(theme),
  );
}