likeminds_feed_core library

Classes

AccessApi
ActivityEntityData
ActivityEntityDataEntity
AddCommentReplyRequest
AddCommentReplyRequestBuilder
AddCommentReplyResponse
AddCommentReplyResponseEntity
AddCommentRequest
AddCommentRequestBuilder
AddCommentResponse
AddCommentResponseEntity
AddPollOptionRequest
AddPollOptionRequestBuilder
AddPollOptionResponse
AddPollOptionResponseEntity
AddPostRequest
AddPostRequestBuilder
AddPostResponse
AddPostResponseEntity
Answer
AnswerEntity
Attachment
AttachmentEntity
AttachmentMeta
AttachmentMetaEntity
AuthApi
AuthApi Public API class used to call the auth methods
ClearLogRequest
ClearLogRequestBuilder
Comment
CommentApi
CommentEntity
Community
{@template community_data} Contains all details related to a community within the application. The id and name parameters are required. All other parameters are optional.
CommunityConfigurations
CommunityConfigurationsEntity
CommunityEntity
CommunitySettings
CommunitySettingsEntity
CommunitySettingsRights
CommunitySettingsRightsEntity
DecodeUrlRequest
DecodeUrlRequestBuilder
DecodeUrlResponse
DecodeUrlResponseEntity
DeleteCommentRequest
DeleteCommentRequestBuilder
DeleteCommentResponse
DeleteCommentResponseEntity
DeletedLikesTile
DeletePendingPostRequest
DeletePendingPostRequestBuilder
DeletePostRequest
DeletePostRequestBuilder
DeletePostResponse
DeletePostResponseEntity
DeleteReason
DeleteReasonEntity
DeviceDetails
DeviceDetailsBuilder
EditCommentReplyRequest
EditCommentReplyRequestBuilder
EditCommentReplyResponse
EditCommentReplyResponseEntity
EditCommentRequest
EditCommentRequestBuilder
EditCommentResponse
EditCommentResponseEntity
EditPendingPostRequest
EditPendingPostRequestBuilder
EditPendingPostResponse
EditPendingPostResponseEntity
EditPostRequest
EditPostRequestBuilder
EditPostResponse
EditPostResponseEntity
EditProfileRequest
EditProfileRequestBuilder
EditProfileResponse
EditProfileResponseEntity
EmailElement
Represents an element containing an email address
EmailLinkifier
FeedApi
FeedRoom
FeedRoomEntity
GetAllPendingPostsRequest
GetAllPendingPostsRequestBuilder
GetAllPendingPostsResponse
GetAllPendingPostsResponseEntity
GetCommentLikesRequest
GetCommentLikesRequestBuilder
GetCommentLikesResponse
GetCommentLikesResponseEntity
GetCommentRequest
GetCommentRequestBuilder
GetCommentResponse
GetCommentResponseEntity
GetCommunityConfigurationsResponse
GetCommunityConfigurationsResponseEntity
GetDeleteReasonRequest
GetDeleteReasonRequestBuilder
GetDeleteReasonResponse
GetDeleteReasonResponseEntity
GetFeedOfFeedRoomRequest
GetFeedOfFeedRoomRequestBuilder
GetFeedOfFeedRoomResponse
GetFeedOfFeedRoomResponseEntity
GetFeedRequest
GetFeedRequestBuilder
GetFeedResponse
GetFeedResponseEntity
GetFeedRoomRequest
GetFeedRoomRequestBuilder
GetFeedRoomResponse
GetFeedRoomResponseEntity
GetLogResponse
GetLogResponseBuilder
GetNotificationFeedRequest
GetNotificationFeedRequestBuilder
GetNotificationFeedResponse
GetNotificationFeedResponseEntity
GetPendingPostRequest
GetPendingPostRequestBuilder
GetPendingPostResponse
GetPendingPostResponseEntity
GetPollVotesRequest
GetPollVotesRequestBuilder
GetPollVotesResponse
GetPollVotesResponseEntity
GetPostLikesRequest
GetPostLikesRequestBuilder
GetPostLikesResponse
GetPostLikesResponseEntity
GetPostRequest
GetPostRequestBuilder
GetPostResponse
GetPostResponseEntity
GetProfileRequest
GetProfileRequestBuilder
GetProfileResponse
GetProfileResponseEntity
GetSavedPostRequest
GetSavedPostRequestBuilder
GetSavedPostResponse
GetSavedPostResponseEntity
GetTaggingListRequest
GetTaggingListRequestBuilder
GetTaggingListResponse
GetTaggingListResponseEntity
GetTopicsRequest
GetTopicsRequestBuilder
GetTopicsResponse
GetTopicsResponseEntity
GetUnreadNotificationCountResponse
GetUnreadNotificationCountResponseEntity
GetUserActivityRequest
GetUserActivityRequestBuilder
GetUserActivityResponse
GetUserActivityResponseEntity
GetUserCommentsRequest
GetUserCommentsRequestBuilder
GetUserCommentsResponse
GetUserCommentsResponseEntity
GetUserFeedMetaRequest
GetUserFeedMetaRequestBuilder
GetUserFeedMetaResponse
GetUserFeedMetaResponseEntity
GetUserPostRequest
GetUserPostRequestBuilder
GetUserPostResponse
GetUserPostResponseEntity
GetUserTopicsRequest
GetUserTopicsRequestBuilder
GetUserTopicsResponse
GetUserTopicsResponseEntity
GetWidgetRequest
GetWidgetRequestBuilder
GetWidgetResponse
GroupTag
GroupTagEntity
InitiateLoggerRequest
InitiateLoggerRequestBuilder
InitiateUserRequest
InitiateUserRequestBuilder
InitiateUserResponse
InitiateUserResponseEntity
InsertLogRequest
InsertLogRequestBuilder
Like
LikeEntity
LikeMindsTheme
LikePostRequest
LikePostRequestBuilder
LikePostResponse
LikePostResponseEntity
LikesTile
LinkableElement
Linkifier
LinkifyElement
LinkifyOptions
LMActivityEntityViewData
LMActivityEntityViewDataBuilder
LMActivityEntityViewDataConvertor
LMAttachmentMetaViewData
LMAttachmentMetaViewDataBuilder
LMAttachmentMetaViewDataConvertor
LMAttachmentViewData
LMAttachmentViewDataBuilder
LMAttachmentViewDataConvertor
LMAuthToken
LMAuthTokenBuilder
LMCache
LMCacheBuilder
LMCommentMetaData
LMCommentMetaData defines the metadata of the comment which is being added, edited or deleted
LMCommentMetaDataBuilder
LMCommentMetaDataBuilder is a builder class for LMCommentMetaData
LMCommentViewData
LMCommentViewDataBuilder
LMCommentViewDataConvertor
LMDeleteReasonConvertor
LMDeleteReasonViewData
A data class to hold the delete reason data.
LMDeleteReasonViewDataBuilder
A builder class to build LMDeleteReasonViewData
LMFeedActivityScreen
LMFeedActivityTileWidget
LMFeedActivityWidget
LMFeedAddLocalReplyEvent
LMFeedAddLocalReplyState
LMFeedAnalyticsBloc
LMFeedAnalyticsBloc handle all the analytics related actions like fire analytics event. LMFeedAnalyticsEvent defines the events which are handled by this bloc. LMFeedAnalyticsState defines the states which are emitted by this bloc
LMFeedAnalyticsEvent
LMFeedAnalyticsEvent defines the events which are handled by LMFeedAnalyticsBloc.
LMFeedAnalyticsEventFired
LMFeedAnalyticsEventFired defines the state when an analytics event is fired. eventName of type String defines the name of the event fired. eventProperties of type Map<String, dynamic> defines the properties of the event fired.
LMFeedAnalyticsInitiated
LMFeedAnalyticsInitiated defines the state when LMFeedAnalyticsBloc is initiated.
LMFeedAnalyticsKeys
LMFeedAnalyticsState
LMFeedAnalyticsState defines the states which are emitted by LMFeedAnalyticsBloc.
LMFeedAppBar
LMFeedAppBarStyle
LMFeedBloc
LMFeedBlocListener
This is the main class that needs to be initialized before using the SDK. LMBlocListener is a wrapper class that wraps the child widget with MultiBlocListener. This class is responsible for listening to the following blocs:
LMFeedBlocObserver
LMFeedBottomSheet
LMFeedBottomSheetStyle
LMFeedBuilderDelegate
LMFeedButton
LMFeedButtonStyle
LMFeedCarousel
LMFeedClearCommentRepliesEvent
LMFeedClearedCommentRepliesState
LMFeedClearSearchEvent
LMFeedClient
LMFeedClientBuilder
LMFeedCommentActionEvent<CommentRequest extends Object>
LMFeedCommentActionEvent defines the event to handle comment related actions like add, edit, delete, etc. commentActionRequest of type Response defines the request to be sent to the server. It can be of type AddCommentRequest, AddCommentReplyRequest, EditCommentRequest, EditCommentReplyRequest, DeleteCommentRequest.
LMFeedCommentActionOngoingState
LMFeedCommentActionOngoingState state is used to generate view for Editing or Replying flow for both comment and replies to comments
LMFeedCommentBloc
LMFeedCommentBloc handle all the comment related actions like add, edit, delete, etc. LMFeedCommentHandlerEvent defines the events which are handled by this bloc. LMFeedCommentHandlerState defines the states which are emitted by this bloc
LMFeedCommentCanceledState
LMFeedCommentCanceledState is the state emitted when the comment related action is canceled i.e. A user was editing a comment/reply or replying to a existing comment but cancelled the action
LMFeedCommentCancelEvent
LMFeedCommentCancelEvent defines the event to handle the cancel comment i.e. A user has cancelled editing a comment/reply or replying to a existing comment
LMFeedCommentErrorState<Response extends Object>
LMFeedCommentErrorState is the state emitted when the comment related action fails i.e. Add, Edit, Delete, etc.
LMFeedCommentHandlerEvent
LMFeedCommentHandlerEvent defines the event handled by LMFeedCommentHandlerBloc.
LMFeedCommentHandlerState
LMFeedCommentHandlerState defines the states which are emitted by LMFeedCommentHandlerBloc
LMFeedCommentInitialState
LMFeedCommentInitialState is the initial state of the LMFeedCommentHandlerBloc
LMFeedCommentLoadingState
LMFeedCommentLoadingState is the state emitted when the comment related action is being performed i.e. Add, Edit, Delete, etc.
LMFeedCommentOngoingEvent
LMFeedCommentOngoingEvent defines the event to handle the ongoing comment i.e. A user is editing a comment/reply or replying to a existing comment commentMetaData of type LMCommentMetaData defines the metadata of the comment/reply on which the action is to be performed.
LMFeedCommentRepliesErrorState
LMFeedCommentRepliesEvent
LMFeedCommentRepliesInitialState
LMFeedCommentRepliesLoadedState
LMFeedCommentRepliesLoadingState
LMFeedCommentRepliesState
LMFeedCommentStyle
LMFeedCommentSuccessState<Response extends Object>
LMFeedCommentSuccessState is the state emitted when the comment related action is successful i.e. Add, Edit, Delete, etc.
LMFeedCommentUtils
LMFeedCommentWidget
LMFeedComposeAddDocumentEvent
LMFeedComposeAddedDocumentState
LMFeedComposeAddedImageState
LMFeedComposeAddedLinkPreviewState
LMFeedComposeAddedPollState
LMFeedComposeAddedVideoState
LMFeedComposeAddImageEvent
LMFeedComposeAddImageEvent opens the image picker and handles the flow to add the selected images to the post
LMFeedComposeAddLinkPreviewEvent
LMFeedComposeAddPollEvent
LMFeedComposeAddPollEvent adds a poll to the post
LMFeedComposeAddVideoEvent
LMFeedComposeAddVideoEvent opens the video picker and handles the flow to add the selected video to the post
LMFeedComposeBloc
LMFeedComposeBloc handles all the post creation and edition related actions like attaching media to a post, adding topics, add link preview to a link present in post etc. LMFeedComposeEvent defines the events which are handled by this bloc. LMFeedComposeState defines the states which are emitted by this bloc
LMFeedComposeCloseEvent
LMFeedComposeEvent
LMFeedComposeEvent defines the events which are handled by LMFeedComposeBloc
LMFeedComposeFetchedTopicsState
LMFeedComposeFetchTopicsEvent
LMFeedComposeFetchTopicsEvent fetches the topics for the post
LMFeedComposeInitialState
LMFeedComposeMediaErrorState
LMFeedComposeMediaLoadingState
LMFeedComposeMediaStyle
LMFeedComposeRemoveAttachmentEvent
LMFeedComposeRemovedAttachmentState
LMFeedComposeScreen
LMFeedComposeScreenConfig
LMFeedComposeScreenStyle
LMFeedComposeState
LMFeedComposeTopicsLoadingState
LMFeedConfig
LMFeedCore
LMFeedCoreCallback
LMFeedCreateNewPostEvent
When a new post is to be created LMFeedCreateNewPostEvent is raised to create a new post postMedia contains the media files to be uploaded postText contains the text to be uploaded heading contains the heading to be uploaded One of postMedia, postText or heading should not be null to create a new post user contains the user details and is of type LMUserViewData selectedTopics contains the selected topics and is of type List<LMTopicViewData>
LMFeedCreatePollScreen
LMFeedDeepLinkHandler
LMFeedDeepLinkRequest
LMFeedDeepLinkRequestBuilder
LMFeedDeepLinkResponse
LMFeedDeleteConfirmationDialog
LMFeedDeleteLocalReplyEvent
LMFeedDeleteLocalReplyState
LMFeedDeletePostEvent
LMFeedDialog
LMFeedDialogStyle
LMFeedDocument
LMFeedDocumentShimmer
LMFeedEditLocalReplyEvent
LMFeedEditLocalReplyState
LMFeedEditPostErrorState
Error while editing an existing post LMFeedEditPostErrorState is emitted to indicate that an error has occurred while editing an existing post errorMessage contains the error message and is of type String
LMFeedEditPostEvent
When an existing post is to be edited LMFeedEditPostEvent is raised to edit an existing post attachments contains the media files to be uploaded postText contains the text to be uploaded heading contains the heading to be uploaded postId contains the id of the post to be edited One of attachments, postText or heading should not be null to edit a post selectedTopics contains the selected topics and is of type List<LMTopicViewData>
LMFeedEditPostScreen
This screen is used to edit a post It provides the user with the ability to edit the post Attachments are not editable except links postViewData is a required parameter and is of type LMPostViewData
LMFeedEditPostUploadedState
When an existing post is successfully edited LMFeedEditPostUploadedState is used to update the post details in the UI postData contains the updated post data and is of type LMPostViewData userData contains the updated user data and is of type Map<String, LMUserViewData> topics contains the updated topics and is of type Map<String, LMTopicViewData> widgets contains the updated widgets and is of type Map<String, LMWidgetViewData>
LMFeedEditPostUploadingState
LMFeedEditPostUploadingState is emitted to indicate that an existing post is being edited thumbnailMedia contains the thumbnail media and is of type LMMediaModel
LMFeedErrorPostNotificationState
LMFeedErrorSharedPostState
LMFeedEvent
LMFeedExpandableText
LMFeedExpandableTextState
LMFeedFetchCommentReplyBloc
LMFeedFetchCommentReplyBloc fetches the replies for a comment
LMFeedFireAnalyticsEvent
LMFeedFireAnalyticsEvent defines the event to fire an analytics event. eventName of type String defines the name of the event to be fired. eventProperties of type Map<String, dynamic> defines the properties of the event to be fired.
LMFeedGetCommentRepliesEvent
LMFeedGetNotificationsEvent
LMFeedGetPendingPostsEvent
LMFeedGetPostErrorState
Error while fetching post details LMFeedGetPostErrorState is emitted to indicate that an error has occurred while fetching post details message contains the error message and is of type String
LMFeedGetPostEvent
When a post is to be fetched from the server LMFeedGetPostEvent is raised to fetch the post details postId contains the id of the post to be fetched
LMFeedGetPostLoadingState
When a post details is being fetched from the server LMFeedGetPostLoadingState is emitted to indicate that post details is being fetched
LMFeedGetPostSuccessState
When a post is successfully fetched from the server LMFeedGetPostSuccessState is emitted to update the UI post contains the post details and is of type LMPostViewData
LMFeedGetPostVideoControllerRequest
LMFeedGetPostVideoControllerRequestBuilder
LMFeedGetPostVideoControllerResponse
LMFeedGetSearchEvent
LMFeedGetTopicEvent
LMFeedGetUniversalFeedEvent
LMFeedHandlePostNotificationEvent
LMFeedHandleSharedPostEvent
LMFeedIcon
A simple icon widget to be used throughout the feed Represents three types of icons - icon, png, svg Provides customisability through LMFeedIconStyle
LMFeedIconStyle
LMFeedImage
A widget to display an image in a post. The image can be fetched from a URL or from a file. The LMFeedImage can be customized by passing in the required parameters and can be used in a post. The image can be tapped to perform an action. The image can be customized by passing in the required parameters and can be used in a post.
LMFeedInitAnalyticsEvent
LMFeedInitAnalyticsEvent defines the event to initiate LMFeedAnalyticsBloc.
LMFeedInitialSearchState
LMFeedInitialState
LMFeedInitTopicEvent
LMFeedLikesScreen
LMFeedLinkPreview
LMFeedList
LMFeedLoader
LMFeedLoaderStyle
LMFeedLocalPreference
LMFeedLoginRequiredEvent
LMFeedLoginRequiredState
LMFeedLogoutEvent
LMFeedLogoutState
LMFeedMarkNotificationAsReadEvent
LMFeedMediaHandler
LMFeedMediaPreviewScreen
LMFeedMenu
LMFeedMenu is a stateless widget that represents a menu in the feed. It includes a list of menu items, a map of child widgets for each menu item, a set of menu item IDs to be removed, an action to be performed when a menu item is selected, a style for the menu, and callbacks for when the menu is tapped and opened. /// Example usage:
LMFeedMenuAction
LMFeedMenuItemStyle
LMFeedMenuStyle
LMFeedModerationBloc
LMFeedModerationEvent
LMFeedModerationState
LMFeedNewPostErrorState
Error while uploading a new post LMFeedNewPostErrorState is emitted to indicate that an error has occurred while uploading a new post errorMessage contains the error message and is of type String
LMFeedNewPostInitiateState
LMFeedNewPostUploadedState
When a new post is successfully uploaded LMFeedNewPostUploadedState is used to update the post details in the UI postData contains the new post data and is of type LMPostViewData userData contains the new user data and is of type Map<String, LMUserViewData> topics contains the new topics and is of type Map<String, LMTopicViewData> widgets contains the new widgets and is of type Map<String, LMWidgetViewData>
LMFeedNewPostUploadingState
LMFeedNewPostUploadingState is emitted to indicate that a new post is being uploaded progress contains the progress of the upload and is of type Stream<double> thumbnailMedia contains the thumbnail media and is of type LMMediaModel
LMFeedNotificationsBloc
LMFeedNotificationScreen
LMFeedNotificationsErrorState
LMFeedNotificationsEvent
LMFeedNotificationsInitialState
LMFeedNotificationsLoadedState
LMFeedNotificationsLoadingState
LMFeedNotificationsPaginationLoadingState
LMFeedNotificationsState
LMFeedOpenPostNotificationState
LMFeedOpenSharedPostState
LMFeedPaginatedCommentRepliesLoadingState
LMFeedPaginatedUniversalFeedLoadingState
LMFeedPendingBloc
The bloc responsible for managing pending posts in the LMFeed package.
LMFeedPendingEvents
LMFeedPendingInitialState
Initial state of the LMFeedPendingBloc.
LMFeedPendingPostBanner
LMFeedPendingPostBanner is a widget that displays a banner for pending posts in the feed. It includes the number of pending posts, a style for the banner, and a callback for when the banner is pressed.
LMFeedPendingPostBannerStyle
LMFeedPendingPostBannerStyle is a class that defines the style for the pending post banner in the feed. It includes styles for text, trailing icon, padding, margin, height, width, border radius, and border. /// Example usage:
LMFeedPendingPostDialog
LMFeedPendingPostScreenBuilderDeletegate
LMFeedPendingPostsErrorState
State indicating that an error occurred while loading the pending posts.
LMFeedPendingPostsLoadedState
State indicating that the pending posts have been successfully loaded.
LMFeedPendingPostsLoadingState
State indicating that the pending posts are being loaded.
LMFeedPendingPostsScreen
LMFeedPendingState
Abstract base class for all the states related to pending posts in the LMFeedPendingBloc.
LMFeedPersistence
LMFeedPluralize
A class to pluralize or singularize a word.
LMFeedPoll
LMFeedPollOptionStyle
LMFeedPollResultScreen
LMFeedPollStyle
LMFeedPopUpMenuStyle
LMFeedPostBloc
LMFeedPostBloc handle all the post related actions like add, edit, delete, etc. LMFeedPostEvents defines the events which are handled by this bloc. LMFeedPostState defines the states which are emitted by this bloc
LMFeedPostCarouselStyle
LMFeedPostContent
LMFeedPostContentStyle
LMFeedPostCustomContent
LMFeedPostDeletedState
LMFeedPostDeletedState is emitted to indicate that the post is successfully deleted postId contains the id of the deleted post and is of type String
LMFeedPostDeletionErrorState
LMFeedPostDeletionErrorState is emitted to indicate that an error has occurred while deleting a post message contains the error message and is of type String
LMFeedPostDetailScreen
A screen that displays a post in detail with comments and likes
LMFeedPostDocumentStyle
LMFeedPostErrorState
Error States When an error occurs while performing an action LMFeedPostErrorState is emitted to indicate that an error has occurred errorMessage contains the error message and is of type String
LMFeedPostEvents
LMFeedPostEvents defines the events which are handled by LMFeedPostBloc
LMFeedPostFooter
LMFeedPostFooterStyle
LMFeedPostHeader
LMFeedPostHeaderStyle
LMFeedPostImageStyle
LMFeedPostLinkPreviewStyle
LMFeedPostMedia
LMFeedPostMediaStyle
LMFeedPostReviewBanner
A widget that displays a post review banner. Provide a style, onInfoIconClicked, postReviewStatus, reviewStatusIcon, infoIcon, reviewStatusText to customize the post review banner.
LMFeedPostReviewBannerStyle
A class that provides styling for LMFeedPostReviewBanner. Provide a reviewStatusTextStyle, reviewStatusIconStyle, infoIconStyle to customize the LMFeedPostReviewBanner.
LMFeedPostSomething
LMFeedPostState
Base class for all the states related to LMFeedPostBloc LMFeedPostState is extended by all the states
LMFeedPostStyle
Represents the style of a feed post in the LM app.
LMFeedPostSuccessState
Success States When an action is successfully completed LMFeedPostSuccessState is emitted to indicate that the action is successful
LMFeedPostTopic
LMFeedPostTopicStyle
LMFeedPostUpdateState
When an existing post is successfully updated LMFeedPostUpdateState is used to update the post details in the UI post contains the updated post data and is of type LMPostViewData
LMFeedPostUtils
LMFeedPostVideoStyle
LMFeedPostWidget
A widget that displays a feed post in the LM app.
LMFeedProfileBloc
LMFeedProfileEvent
LMFeedProfileEventInitEvent
LMFeedProfilePicture
LMFeedProfilePictureStyle
LMFeedProfileState
LMFeedProfileStateInitState
LMFeedRefreshTopicEvent
LMFeedReportBottomSheet
LMFeedReportFailureState
LMFeedReportInitialState
LMFeedReportLoadingState
LMFeedReportReasonFetchEvent
LMFeedReportReasonSelectedState
LMFeedReportReasonSelectEvent
LMFeedReportScreen
LMFeedReportSubmitEvent
LMFeedReportSubmitFailedState
LMFeedReportSubmittedState
LMFeedReportSuccessState
LMFeedRoomList
LMFeedRoomListScreen
LMFeedRoomScreen
A screen to display the feed. The feed can be customized by passing in the required parameters Post creation can be enabled or disabled Post Builder can be used to customize the post widget Topic Chip Builder can be used to customize the topic chip widget
LMFeedRoomScreenConfig
Configuration for the LMFeedScreen to support changing light and dark style of overall system elements in accordance to the screen's background to enable/disable features on the fly to enable/disable topic selection to enable/disable multiple topic selection to select the type of topic selection widget to be shown
LMFeedRoomViewData
LMFeedRoomViewDataBuilder
LMFeedRoomViewDataConvertor
LMFeedRouteToCompanyProfileEvent
LMFeedRouteToCompanyProfileState
LMFeedRouteToUserProfileEvent
LMFeedRouteToUserProfileState
LMFeedRoutingBloc
LMFeedRoutingEvent
LMFeedRoutingEventInitState
LMFeedRoutingState
LMFeedRoutingStateInitState
LMFeedSavedPostListView
LMFeedScreen
A screen to display the feed. The feed can be customized by passing in the required parameters Post creation can be enabled or disabled Post Builder can be used to customize the post widget Topic Chip Builder can be used to customize the topic chip widget
LMFeedScreenBuilderDelegate
LMFeedScreenConfig
Configuration for the LMFeedScreen to support changing light and dark style of overall system elements in accordance to the screen's background to enable/disable features on the fly to enable/disable topic selection to enable/disable multiple topic selection to select the type of topic selection widget to be shown
LMFeedSearchBloc
LMFeedSearchErrorState
LMFeedSearchEvent
LMFeedSearchLoadedState
LMFeedSearchLoadingState
LMFeedSearchPaginationLoadingState
LMFeedSearchScreen
LMFeedSearchScreenState
LMFeedSearchState
LMFeedShimmer
LMFeedSnackBar
LMFeedSnackBarStyle
LMFeedState
LMFeedStringConstants
LMFeedTaggingHelper
LMFeedText
A simple text widget to be used throughout the Feed experience Provides high level customisability through LMFeedTextStyle Also, can add onTap functionality
LMFeedTextFieldStyle
LMFeedTextStyle
class representing style for a LMFeedText
LMFeedTheme
LMFeedThemeData
LMFeedTile
LMFeedTileShimmer
LMFeedTileStyle
LMFeedTimeAgo
LMFeedTimeAgoMessages
LookupMessages template for any language
LMFeedTimeMessages
English Messages
LMFeedTimeShortMessages
English short Messages
LMFeedTopicBar
LMFeedTopicBarStyle
LMFeedTopicBloc
LMFeedTopicBottomSheet
LMFeedTopicChip
LMFeedTopicChipStyle
LMFeedTopicErrorState
LMFeedTopicEvent
LMFeedTopicFeedGrid
LMFeedTopicInitialState
LMFeedTopicList
LMFeedTopicLoadedState
LMFeedTopicLoadingState
LMFeedTopicPaginationLoadingState
LMFeedTopicSelectScreen
LMFeedTopicState
LMFeedTopicTile
LMFeedUniversalFeedErrorState
LMFeedUniversalFeedLoadedState
LMFeedUniversalFeedLoadingState
LMFeedUpdatePostEvent
LMFeedUploadingState
When an action is in progress LMFeedUploadingState is emitted
LMFeedUserActivityScreen
LMFeedUserCreatedCommentListView
LMFeedUserCreatedPostListView
LMFeedUserMetaBloc
LMFeedUserMetaErrorState
LMFeedUserMetaEvent
LMFeedUserMetaGetEvent
LMFeedUserMetaInitialState
LMFeedUserMetaLoadedState
LMFeedUserMetaLoadingState
LMFeedUserMetaState
LMFeedUserMetaUpdatedState
LMFeedUserMetaUpdateErrorState
LMFeedUserMetaUpdateEvent
LMFeedUserMetaUpdateLoadingState
LMFeedUserTile
LMFeedUserTileShimmer
LMFeedUserUtils
LMFeedVideo
LMFeedVideoProvider
LMVideoProvider is a singleton class that provides video controllers for post with videos. It also manages the lifecycle of the video controllers. Any Controller that goes out of scope is disposed by the LMVideoProvider.
LMFeedWidgetUtility
A utility class that provides a set of methods to build widgets for the feed.
LMGroupTagViewData
LMGroupTagViewDataBuilder
LMGroupTagViewDataConvertor
LMLikesScreenHandler
LMLikeViewData
LMLikeViewDataBuilder
LMLikeViewDataConvertor
LMLog
LMLogBuilder
LMMediaModel
LMNotificationFeedItemViewData
LMNotificationFeedItemViewDataBuilder
LMNotificationFeedItemViewDataConvertor
LMNotificationHandler
This class handles all the notification related logic It registers the device for notifications in the SDK It handles the notification when it is received and shows it It routes the notification to the appropriate screen Since this is a singleton class, it is initialized on the client side
LMNotifications
LMOgTagsViewData
LMOgTagsViewDataBuilder
LMOgTagsViewDataConvertor
LMPollOptionViewData
LMPollOptionViewDataConvertor
LMPopupMenuItemConvertor
LMPopUpMenuItemViewData
LMPopUpMenuItemViewDataBuilder
LMPostDetailScreenConfig
LMPostMediaShimmer
LMPostMediaShimmerStyle
LMPostOptionViewDataBuilder
LMPostViewData
A data class to hold the post data.
LMPostViewDataBuilder
LMPostViewDataConvertor
LMReportContentWidget
LMReportContentWidgetStyle
LMReportScreenStyle
LMResponse<T>
LMSDKCallback
LMSDKCallbackImplementation
LMSDKClientInfoViewData
LMSDKClientInfoViewDataBuilder
LMSDKClientInfoViewDataConvertor
LMSDKMeta
LMSDKMetaBuilder
LMStackTrace
LMStackTraceBuilder
LMTaggingAheadTextField
LMTopicViewData
LMTopicViewDataBuilder
LMTopicViewDataConvertor
LMUserTagViewData
LMUserTagViewDataBuilder
LMUserTagViewDataConvertor
LMUserViewData
A data class to hold the user data.
LMUserViewDataBuilder
A builder class to build LMUserViewData
LMUserViewDataConvertor
LMWidgetViewData
LMWidgetViewDataBuilder
LMWidgetViewDataConvertor
LogoutRequest
LogoutRequestBuilder
LogoutResponse
LogoutResponseEntity
MarkReadNotificationRequest
MarkReadNotificationRequestBuilder
MarkReadNotificationResponse
MarkReadNotificationResponseEntity
MemberAction
MemberActionEntity
MemberStateResponse
MemberStateResponseEntity
NotificationFeedItem
NotificationFeedItemEntity
OgTags
OgTagsEntity
OptionTile
PagedChildBuilderDelegate<ItemType>
Supplies builders for the visual components of paged views.
PagedGridView<PageKeyType, ItemType>
A GridView with pagination capabilities.
PagedLayoutBuilder<PageKeyType, ItemType>
Facilitates creating infinitely scrolled paged layouts.
PagedListView<PageKeyType, ItemType>
A ListView with pagination capabilities.
PagedMasonryGridView<PageKeyType, ItemType>
A MasonryGridView with pagination capabilities.
PagedPageView<PageKeyType, ItemType>
Paged PageView with progress and error indicators displayed as the last item.
PagedSliverGrid<PageKeyType, ItemType>
Paged SliverGrid with progress and error indicators displayed as the last item.
PagedSliverList<PageKeyType, ItemType>
A SliverList with pagination capabilities.
PagingController<PageKeyType, ItemType>
A controller for a paged widget.
PagingState<PageKeyType, ItemType>
The current item's list, error, and next page key state for a paginated widget.
PinPostRequest
PinPostRequestBuilder
PinPostResponse
PinPostResponseEntity
PopupMenuItemModel
PopupMenuItemModelEntity
Post
A class that represents a post in the application. It contains details such as the post text, attachments, community ID, like and comment counts, and various states like whether the post is liked, pinned, or edited.
PostApi
PostDetailRequest
PostDetailRequestBuilder
PostDetailResponse
PostDetailResponseEntity
PostEntity
Entity class for Post model
PostHelper
PostReportRequest
PostReportRequestBuilder
PostReportResponse
PostReportResponseEntity
PushLogRequest
PushLogRequestBuilder
PushLogResponse
PushLogResponseEntity
Question
QuestionAnswer
QuestionAnswerEntity
QuestionCommunityJoin
QuestionCommunityJoinBuilder
QuestionEntity
RefreshAccessTokenRequest
RefreshAccessTokenResponse
RefreshRequestBuilder
RefreshResponseEntity
RegisterDeviceRequest
RegisterDeviceRequestBuilder
RegisterDeviceResponse
RegisterDeviceResponseEntity
SavePostRequest
SavePostRequestBuilder
SavePostResponse
SavePostResponseEntity
SDKApplication
SDKClientInfo
SDKClientInfoEntity
SearchPostRequest
SearchPostRequestBuilder
SearchPostResponse
SearchPostResponseEntity
SubmitPollVoteRequest
SubmitPollVoteRequestBuilder
TextElement
Represents an element containing text
ToggleLikeCommentRequest
ToggleLikeCommentRequestBuilder
ToggleLikeCommentResponse
ToggleLikeCommentResponseEntity
Topic
TopicEntity
UpdateUserTopicsRequest
UpdateUserTopicsRequestBuilder
UpdateUserTopicsResponse
UpdateUserTopicsResponseEntity
UrlElement
Represents an element containing a link
UrlLinkifier
User
UserActivityEntityData
UserActivityEntityDataEntity
UserActivityItem
UserActivityItemEntity
UserEntity
UserTag
UserTagEntity
UserTile
ValidateUserRequest
ValidateUserRequestBuilder
ValidateUserResponse
ValidateUserResponseEntity
Vote
VoteEntity
WidgetModel
WidgetModelEntity

Enums

LMFeedAlignment
enum to describe alignment in context to LM widgets
LMFeedCommentActionType
LMFeedCommentActionType defines the type of action being performed LMFeedCommentActionType.add, LMFeedCommentActionType.edit, LMFeedCommentActionType.delete, LMFeedCommentActionType.replying. while adding a reply to an existing comment always select LMFeedCommentActionType.replying
LMFeedCommentType
LMFeedCommentType defines the entity on which the action is being performed parent or reply
LMFeedComposeTopicSelectorType
The type of topic selector to be shown
LMFeedComposeUserDisplayType
The type of user display to be shown
LMFeedDeepLinkPath
LMFeedIconButtonPlacement
enum to describe placement of icon inside of LMFeedButton
LMFeedIconType
enum to describe type of icon for any LMFeedIcon
LMFeedPluralizeWordAction
Enum to define the action to perform on a word.
LMFeedPostActions
enum to describe actions possible on a post
LMFeedPostActionType
enum to describe the type of action on a post
LMFeedPostDeleteViewType
LMFeedPostLikesListViewType
enum to describe type of list for LMFeedPostLikesList
LMFeedPostMenuType
enum to describe type of menu for LMFeedPostMenu
LMFeedTopicSelectionWidgetType
LMFeedTopicSelectionWidgetType to select the type of topic selection widget to be shown LMFeedTopicSelectionWidgetType.showTopicSelectionBottomSheet to show a bottom sheet with a list of topics LMFeedTopicSelectionWidgetType.showTopicSelectionScreen to show a screen with a list of topics defaults to LMFeedTopicSelectionWidgetType.showTopicSelectionBottomSheet if not provided
LMFeedVideoSourceType
LMFeedWidgetSource
enum to describe the source of widget
LMMediaType
LMPostReviewStatus
An enum that defines the post review status. rejected - Post is rejected and needs to be edited, pending - Post is pending
PagedLayoutProtocol
The Flutter layout protocols supported by PagedLayoutBuilder.
PagingStatus
All possible status for a pagination.
PollMultiSelectState
PollType
Severity

Functions

addOption(BuildContext context, LMAttachmentMetaViewData attachmentMeta, String option, String postId, LMUserViewData? currentUser, ValueNotifier<bool> rebuildPostWidget, LMFeedWidgetSource source) Future<void>
addPollEventHandler(LMFeedComposeAddPollEvent event, Emitter<LMFeedComposeState> emitter) → dynamic
clearSearchEventHandler(LMFeedClearSearchEvent event, Emitter<LMFeedSearchState> emit) Future<void>
deletePendingPost(LMFeedDeletePostEvent event, Emitter<LMFeedPostState> emit) Future<void>
deletePost(LMFeedDeletePostEvent event, Emitter<LMFeedPostState> emit) Future<void>
deletePostEventHandler(LMFeedDeletePostEvent event, Emitter<LMFeedPostState> emit) → void
editPendingPost(LMFeedEditPostEvent event, Emitter<LMFeedPostState> emit) Future<void>
editPost(LMFeedEditPostEvent event, Emitter<LMFeedPostState> emit) Future<void>
editPostEventHandler(LMFeedEditPostEvent event, Emitter<LMFeedPostState> emit) Future<void>
This function handles the LMFeedEditPostEvent and emits the appropriate state based on the response from the server If the response is successful, LMFeedEditPostUploadedState is emitted If the response is not successful, LMFeedNewPostErrorState is emitted
extractLinkAndEmailFromString(String text) LinkifyElement?
extractLinkFromString(String text) List<String>
fetchReportReasonEventHandler(LMFeedModerationEvent event, Emitter<LMFeedModerationState> emit) → void
fireAnalyticsEventHandler(LMFeedFireAnalyticsEvent event, Emitter<LMFeedAnalyticsState> emit) → dynamic
fireAnalyticsEventHandler handles the event to fire an analytics event. eventName of type String defines the name of the event to be fired. eventProperties of type Map<String, dynamic> defines the properties of the event to be fired.
getFileSizeInDouble(int bytes) double
getFileSizeString({required int bytes, int decimals = 0}) String
getFirstValidLinkFromString(String text) String
getFormattedDateTime(int expiryTime) String
getImageFileDimensions(File image) Future<Map<String, int>>
getInitials(String name) String
getLMFeedDeepLinkPath(LMFeedDeepLinkPath path) String
getLMFeedDeepLinkPathFromString(String path) LMFeedDeepLinkPath?
getNetworkImageDimensions(String image) Future<Map<String, int>>
getNotificationsEventHandler(LMFeedGetNotificationsEvent event, Emitter<LMFeedNotificationsState> emit) → void
getPendingPost(LMFeedGetPostEvent event, Emitter<LMFeedPostState> emit) Future<void>
getPendingPostsEventHandler(LMFeedGetPendingPostsEvent event, Emitter<LMFeedPendingState> emit) → void
getPollSelectionText(PollMultiSelectState? pollMultiSelectState, int? pollMultiSelectNo) String?
getPost(LMFeedGetPostEvent event, Emitter<LMFeedPostState> emit) Future<void>
getPostEventHandler(LMFeedGetPostEvent event, Emitter<LMFeedPostState> emit) → void
getSearchEventHandler(LMFeedGetSearchEvent event, Emitter<LMFeedSearchState> emit) Future<void>
getTimeLeftInPoll(int? expiryTime) String
getUserMetaEventHandler(LMFeedUserMetaGetEvent event, Emitter<LMFeedUserMetaState> emit) → dynamic
handleAddActionEvent(LMFeedCommentActionEvent<Object> event, Emitter<LMFeedCommentHandlerState> emit) Future<void>
handleAddActionEvent is used to handle the add comment/reply event LMFeedCommentActionEvent is used to send the request to the handler
handleCancelCommentEvent(LMFeedCommentCancelEvent event, Emitter<LMFeedCommentHandlerState> emit) → void
handleCancelCommentEvent is used to remove editing or replying state from the UI LMFeedCommentCancelEvent is used to send the request to the handler
handleDeleteActionEvent(LMFeedCommentActionEvent<Object> event, Emitter<LMFeedCommentHandlerState> emit) Future<void>
handleDeleteActionEvent is used to handle the delete action event for both comment and replies to comments LMFeedCommentActionEvent is used to send the request to the handler
handleEditActionEvent(LMFeedCommentActionEvent<Object> event, Emitter<LMFeedCommentHandlerState> emit) Future<void>
handleEditActionEvent is used to handle the edit request for both comment and replies to comments LMFeedCommentActionEvent is used to send the request to the handler
handleLMLoginRequiredEvent(LMFeedLoginRequiredEvent event, Emitter<LMFeedProfileState> emit) → void
handleLMLogoutEvent(LMFeedLogoutEvent event, Emitter<LMFeedProfileState> emit) → void
handleLMRouteToCompanyProfileEvent(LMFeedRouteToCompanyProfileEvent event, Emitter<LMFeedProfileState> emit) → void
handleLMRouteToUserProfileEvent(LMFeedRouteToUserProfileEvent event, Emitter<LMFeedProfileState> emit) → void
handleOngoingCommentEvent(LMFeedCommentOngoingEvent event, Emitter<LMFeedCommentHandlerState> emit) → void
handleOngoingCommentEvent is used to handle the ongoing event i.e. A user is editing a comment/reply LMFeedCommentOngoingEvent is used to send the request to the handler or replying to a existing comment
hasPollEnded(int? expiryTime) bool
isInstantPoll(PollType? pollType) bool
isMultiChoicePoll(int? pollMultiSelectNo, PollMultiSelectState? pollMultiSelectState) bool
isPollSubmitted(List<LMPollOptionViewData> options) bool
linkify(String text, {LinkifyOptions options = const LinkifyOptions(), List<Linkifier> linkifiers = defaultLinkifiers}) List<LinkifyElement>
Turns text into a list of LinkifyElement
mapIntToMediaType(int attachmentType) LMMediaType
markReadNotificationEventHandler(LMFeedMarkNotificationAsReadEvent event, dynamic emit) → void
newPostEventHandler(LMFeedCreateNewPostEvent event, Emitter<LMFeedPostState> emit) → void
onVoteTextTap(BuildContext context, LMAttachmentMetaViewData attachmentMeta, LMFeedWidgetSource source, {LMPollOptionViewData? option}) → void
pollMultiSelectStateFromString(String value) PollMultiSelectState
pollTypeFromString(String value) PollType
postNotificationEventHandler(LMFeedHandlePostNotificationEvent event, Emitter<LMFeedRoutingState> emit) → void
reportReasonSelectedEventHandler(LMFeedReportReasonSelectEvent event, Emitter<LMFeedModerationState> emit) → dynamic
reportSubmitEventHandler(LMFeedReportSubmitEvent event, Emitter<LMFeedModerationState> emit) → void
resetOptions(LMAttachmentMetaViewData attachmentMeta, LMAttachmentMetaViewData previousValue) → void
sendPostCreationCompletedEvent(List<LMMediaModel> postMedia, List<LMUserTagViewData> usersTagged, List<LMTopicViewData> topics) → void
sharePostEventHandler(LMFeedHandleSharedPostEvent event, Emitter<LMFeedRoutingState> emit) → void
showAddOptionButton(LMAttachmentMetaViewData attachmentMeta) bool
showSubmitButton(LMAttachmentMetaViewData attachmentMeta) bool
showTick(LMAttachmentMetaViewData attachmentMeta, LMPollOptionViewData option, List<String> selectedOption, bool isVoteEditing) bool
submitVote(BuildContext context, LMAttachmentMetaViewData attachmentMeta, List<String> options, String postId, Map<String, bool> isVoteEditing, LMAttachmentMetaViewData previousValue, ValueNotifier<bool> rebuildPostWidget, LMFeedWidgetSource source) Future<void>
updatePostEventHandler(LMFeedUpdatePostEvent event, Emitter<LMFeedPostState> emit) → void
updateUserMetaEventHandler(LMFeedUserMetaUpdateEvent event, Emitter<LMFeedUserMetaState> emit) → dynamic
voteText(int voteCount) String

Typedefs

CompletedListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder? noMoreItemsIndicatorBuilder)
ErrorListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder newPageErrorIndicatorBuilder)
ItemWidgetBuilder<ItemType> = Widget Function(BuildContext context, ItemType item, int index)
LMFeedAnalyticsBlocListener = dynamic Function(BuildContext context, LMFeedAnalyticsState state)
State changes listener function for LMFeedAnalyticsBloc takes BuildContext and LMFeedAnalyticsState as parameters and returns Widget
LMFeedButtonBuilder = Widget Function(LMFeedButton)
Builder function to build the button widget. must return a widget, takes in LMFeedButton as params
LMFeedCarouselIndicatorBuilder = Widget Function(BuildContext, int, int, Widget)
Builder function to build the carousel indicator widget. must return a widget, takes in int as params int is the current index of the carousel
LMFeedContextButtonBuilder = Widget Function(BuildContext, LMFeedButton)
Button builder function for BuildContext Takes BuildContext and LMFeedButton as parameters and returns Widget
LMFeedContextWidgetBuilder = Widget Function(BuildContext context)
Widget builder function for BuildContext Takes BuildContext as parameter and returns Widget
LMFeedErrorHandler = dynamic Function(String, StackTrace)
A callback to handle errors in the feed.
LMFeedImageBuilder = Widget Function(LMFeedImage)
Builder function to build the image widget. must return a widget, takes in LMFeedImage as params
LMFeedOnPostTap = void Function(BuildContext, LMPostViewData)
A callback to handle interactions with the post.
LMFeedOnTagTap = void Function(String)
A callback to handle tag tap in the feed.
LMFeedPollBuilder = Widget Function(BuildContext, LMFeedPoll)
Builder function to build the poll widget. must return a widget, takes in LMFeedPoll as params
LMFeedPostAppBarBuilder = PreferredSizeWidget Function(BuildContext, LMFeedAppBar)
Builder function to build the post appbar. must return a PreferredSizeWidget, takes in BuildContext and LMPostViewData as params.
LMFeedPostCommentBuilder = Widget Function(BuildContext, LMFeedCommentWidget, LMPostViewData)
Builder function to build the post comment. must return a widget, takes in BuildContext, LMUserViewData and LMCommentViewData as params.
LMFeedPostContentBuilder = Widget Function(BuildContext, LMFeedPostContent, LMPostViewData)
Builder function to build the post widget. must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedPostFooterBuilder = Widget Function(BuildContext, LMFeedPostFooter, LMPostViewData)
Builder function to build the post footer. i.e. like, comment, share, save buttons must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedPostHeaderBuilder = Widget Function(BuildContext, LMFeedPostHeader, LMPostViewData)
Builder function to build the post header. i.e. user image, name, time, menu button must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedPostMediaBuilder = Widget Function(BuildContext, LMFeedPostMedia, LMPostViewData)
Builder function to build the post widget. must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedPostMenuBuilder = Widget Function(BuildContext, LMFeedMenu, LMPostViewData)
Builder function to build the post widget. i.e. edit, delete, report, pin etc. must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedPostReviewBannerBuilder = Widget Function(BuildContext, LMFeedPostReviewBanner, LMPostViewData)
Builder function to build the post widget review banner. must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedPostTopicBuilder = Widget Function(BuildContext, LMFeedPostTopic, LMPostViewData)
Builder function to build the topic widget. must return a widget, takes in BuildContext and LMTopicViewData as params
LMFeedPostWidgetBuilder = Widget Function(BuildContext, LMFeedPostWidget, LMPostViewData)
Builder function to build the post widget. must return a widget, takes in BuildContext and LMPostViewData as params
LMFeedProfileBlocListener = dynamic Function(BuildContext context, LMFeedProfileState state)
State changes listener function for LMFeedProfileBloc takes BuildContext and LMFeedProfileState as parameters and returns Widget
LMFeedRoomTileBuilder = Widget Function(BuildContext context, LMFeedRoomViewData viewData, LMFeedTile oldWidget)
LMFeedRoutingBlocListener = dynamic Function(BuildContext context, LMFeedRoutingState state)
State changes listener function for LMFeedRoutingBloc takes BuildContext and LMFeedRoutingState as parameters and returns Widget
LMFeedTileBuilder = Widget Function(BuildContext, LMFeedTile)
Tile builder function for LMFeedTile Takes BuildContext and LMFeedTile as parameters and returns Widget
LMFeedTopicBarBuilder = Widget Function(LMFeedTopicBar topicBar)
LMFeedVideoBuilder = Widget Function(LMFeedVideo)
Builder function to build the video widget. must return a widget, takes in LMFeedVideo as params
LoadingListingBuilder = Widget Function(BuildContext context, IndexedWidgetBuilder itemWidgetBuilder, int itemCount, WidgetBuilder newPageProgressIndicatorBuilder)
PageRequestListener<PageKeyType> = void Function(PageKeyType pageKey)
PagingStatusListener = void Function(PagingStatus status)
SliverGridBuilder = SliverWithKeepAliveWidget Function(int childCount, SliverChildDelegate delegate)
SliverSimpleGridDelegateBuilder = SliverSimpleGridDelegate Function(int childCount)
StringCallback = void Function(String value)