smartlinks_community

Community forums UI (list, detail, posts, comments, likes) for the SmartLinks Flutter SDK.

Recommended: SmartLinks.community.open() via smartlinks_flutter. Full docs: repository README.

Features

  • Community list and detail with posts feed
  • Google / Apple sign-in (Firebase)
  • Customizable CommunityStrings and SmartLinksTheme
  • Optional banner ad slot

Setup

  1. Configure Firebase in your host app (google-services.json / GoogleService-Info.plist).
  2. Pass firebaseProject to SmartLinks.initialize() matching your SmartLinks dashboard.
await SmartLinks.initialize(
  apiKey: 'YOUR_KEY',
  firebaseProject: 'your-firebase-project-slug',
);

Open community

SmartLinks.community.open(
  communityStrings: CommunityStrings(pageTitle: 'Community'),
  theme: SmartLinksTheme(accentColor: Colors.indigo),
  bannerAd: () => SmartLinkBannerAd(adService: SmartLinks.ads),
);

Browsing communities does not require login; posting, liking, and commenting prompt sign-in.

License

MIT — see LICENSE.