features/legal/legal library
Classes
- CredentialTermsScreen
- Screen that displays the credential terms and conditions, with buttons to accept or deny the terms.
- HomeownerConsentContents
- Displays a homeowner consent form that asks a homeowner to provide consent in the form of a signature. It also displays an option to email the homeowner in the event that consent could not be obtained onsite.
- NonDisclosureAgreementScreen
- Screen that displays the non-disclosure agreement, with buttons to accept or deny the terms.
Constants
- acceptedCredentialTermsUsersPrefKey → const String
- acceptedNdaUsersPrefKey → const String
- kPrivacyUrl → const String
Properties
-
acceptedCredentialTermsUsersProvider
→ StateNotifierProvider<
PreferenceNotifier< List< , List<String> >String> > -
Provides the list of users who have accepted the credential
terms and conditions
final
-
acceptedNdaUsersProvider
→ StateNotifierProvider<
PreferenceNotifier< List< , List<String> >String> > -
Provides the list of users who have accepted the non-disclosure agreement
final
-
hasAcceptedCredentialTermsProvider
→ Provider<
bool> -
Provides whether the currently logged-in user has accepted the credential
terms and conditions
final
-
hasAcceptedNdaProvider
→ Provider<
bool> -
Provides whether the currently logged-in user has accepted the NDA
final
Functions
-
acceptCredentialTerms(
BuildContext context) → Future< bool> - Record that the given user has accepted the credential terms.
-
acceptNda(
BuildContext context) → Future< bool> - Record that the given user has accepted the non-disclosure agreement.
-
addStringToPrefList(
BuildContext context, {required PreferenceStringListProvider provider, required String value}) → Future< bool> - Add a string value to a string list preference
-
clearAllAcceptedCredentialTermsUsers(
BuildContext context) → Future< bool> - Clear all users who accepted the credential terms and conditions
-
clearAllAcceptedNdaUsers(
BuildContext context) → Future< bool> - Clear all users who accepted the non-disclosure agreement
-
declineCredentialTerms(
BuildContext context, [AuthUser< OAuthToken> ? authUser]) → Future<bool> - Remove the given user from the list of accepted credential terms users.
-
declineNda(
BuildContext context) → Future< bool> - Remove the given user from the list of accepted NDA users.
-
removeStringFromPrefList(
BuildContext context, {required PreferenceStringListProvider provider, required String value}) → Future< bool> - Remove a string value from a string list preference
Typedefs
-
PreferenceStringListProvider
= StateNotifierProvider<
PreferenceNotifier< List< , List<String> >String> > - Type for a state notifier provider that uses a string list preference as its notifier.