featurebase library

Functions

changelogInfo(Ref ref, String locale, {int page = 1}) Future<ResultsPagination<Changelog>>
Changelog
comments(Ref ref, {int page = 1, String sortBy = 'new', String? submissionId, String? changelogId, String? commentThreadId}) Future<ResultsPagination<Comment>>
Comments
downvotePost({required Post post, required dynamic updatePost(Post)}) Future<Post?>
Downvote a post
feedbackSubmissions(Ref ref, {int page = 1, String orderBy = 'date', String direction = 'desc'}) Future<ResultsPagination<Post>>
Feedback
getCurrentUser(Ref ref) Future<User>
User
getHelpCenterArticle(Ref ref, String articleId, String locale) Future<Article>
getHelpCenterArticleBody(Ref ref, String articleId, String? preLoadedBody, String locale) Future<String?>
getOrganization(Ref ref) Future<Organization>
This was done due to riverpod 3.0.0 update
getUserActivities(Ref ref, String id) Future<List<UserActivity>>
helpCenterInfo(Ref ref, String locale) Future<HelpCenter>
Help Center
openChangelog({required String organizationName, required String appName, required Color primaryColor, Color textColor = Colors.black, Color? backgroundColor, bool enableHapticFeedback = true, Locale defaultLocale = const Locale('en'), required BuildContext context}) → void
Open the Changelog
openFeedbackPage({required String organizationName, required String appName, required SSOAuth auth, required Color primaryColor, Color textColor = Colors.black, Color? backgroundColor, Color? searchFillColor, bool enableHapticFeedback = true, Locale defaultLocale = const Locale('en'), required BuildContext context}) → void
Open the Feedback Page
openHelpCenter({required String organizationName, required Color primaryColor, Color textColor = Colors.black, Color? backgroundColor, Color? searchFillColor, bool showSearchBar = true, bool enableHapticFeedback = true, Locale defaultLocale = const Locale('en'), required BuildContext context}) → void
Open the Help Center
upvotePost({required Post post, required dynamic updatePost(Post)}) Future<Post?>
Upvote a post