This repository holds the Feed UI for LikeMinds Feed service.
Follow the documentation to create LikeMinds account and get access to your API key. This is a prerequisite.
After cloning the repository, the sample app lives in the example folder. Run the main function to start the sample app.
main();
The sample app already has a test community loaded in the credentials file. To start using your own credentials edit the credentials.dart
file.
The sample UI package has componenets which you can use in your own code by using this package locally by providing a path to the root directory in your pubspec.yaml
file.
The LikeMinds Feed SDK package is hosted on pub.dev
Include the latest version of the SX package in your flutter pubspec file.
Then get an instance of the SX UI package using -
LMFeed.instance(
userId: <String>,
userName: <String>,
defaultFeedroom: <int>,
callback: <LikeMindsSDKCallback>,
apiKey: <String>,
),
This will inflate the parent widget with LikeMinds Feed.