getLeaveOption static method
Implementation
static CometChatDetailsOption getLeaveOption(BuildContext context,
{CometChatTheme? theme}) {
return CometChatDetailsOption(
id: GroupOptionConstants.leave,
title: Translations.of(context).leaveGroup,
titleStyle: _getSecondaryGroupOptionTextStyle(theme),
);
}