photoAndVideoLibraryOption method

CometChatMessageComposerAction photoAndVideoLibraryOption(
  1. CometChatTheme theme,
  2. 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(),
  );
}