smartlinks_community 2.0.3
smartlinks_community: ^2.0.3 copied to clipboard
Community forums UI for the SmartLinks Flutter SDK.
smartlinks_community #
Community forums UI (list, detail, posts, comments, likes) for the SmartLinks Flutter SDK.
Recommended:
SmartLinks.community.open()viasmartlinks_flutter. Full docs: repository README.
Features #
- Community list and detail with posts feed
- Google / Apple sign-in (Firebase)
- Customizable
CommunityStringsandSmartLinksTheme - Optional banner ad slot
Setup #
- Configure Firebase in your host app (
google-services.json/GoogleService-Info.plist). - Pass
firebaseProjecttoSmartLinks.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.