photoAndVideoLibraryOption method
CometChatMessageComposerAction
photoAndVideoLibraryOption(
- CometChatTheme theme,
- BuildContext context
Implementation
CometChatMessageComposerAction photoAndVideoLibraryOption(
CometChatTheme theme, BuildContext context) {
return CometChatMessageComposerAction(
id: MessageTypeConstants.photoAndVideo,
title: Translations.of(context).photoAndVideoLibrary,
iconUrl: AssetConstants.photoLibrary,
iconUrlPackageName: UIConstants.packageName,
titleStyle: TextStyle(
color: theme.palette.getAccent(),
fontSize: theme.typography.subtitle1.fontSize,
fontWeight: theme.typography.subtitle1.fontWeight),
iconTint: theme.palette.getAccent700(),
);
}