features/legal/nda/nda_providers library
Constants
- acceptedNdaUsersPrefKey → const String
Properties
-
acceptedNdaUsersProvider
→ StateNotifierProvider<
PreferenceNotifier< List< , List<String> >String> > -
Provides the list of users who have accepted the non-disclosure agreement
final
-
hasAcceptedNdaProvider
→ Provider<
bool> -
Provides whether the currently logged-in user has accepted the NDA
final
Functions
-
acceptNda(
BuildContext context) → Future< bool> - Record that the given user has accepted the non-disclosure agreement.
-
clearAllAcceptedNdaUsers(
BuildContext context) → Future< bool> - Clear all users who accepted the non-disclosure agreement
-
declineNda(
BuildContext context) → Future< bool> - Remove the given user from the list of accepted NDA users.