Activity Screen
LMFeedActivityScreen
The LMFeedActivityScreen
widget is designed to display a feed activity interface, including posts and comments. It provides customizable options for rendering individual posts and comments, offering developers flexibility to adapt the UI to specific use cases, such as social activities, notifications, or engagement feeds.
Properties
uuid
(String
) - Required
A unique identifier for the activity feed screen. It ensures that the specific feed instance is identified and rendered.postWidgetBuilder
(LMFeedPostWidgetBuilder?)
A builder for customizing the appearance of individual posts. Developers can override this to provide a personalized post UI.commentWidgetBuilder
(LMFeedPostCommentBuilder?)
A builder for customizing the appearance of individual comments within posts.
Example Usage
// Creating an instance of LMFeedActivityScreen
final activityScreen = LMFeedActivityScreen(
uuid: "YOUR_USER_ID", // replace it with actual user id
);
// Navigating to the activity screen
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => activityScreen,
),
);