PrivacyServices constructor
PrivacyServices({
- required ChromeSetting alternateErrorPagesEnabled,
- required ChromeSetting autofillEnabled,
- required ChromeSetting autofillAddressEnabled,
- required ChromeSetting autofillCreditCardEnabled,
- required ChromeSetting passwordSavingEnabled,
- required ChromeSetting safeBrowsingEnabled,
- required ChromeSetting safeBrowsingExtendedReportingEnabled,
- required ChromeSetting searchSuggestEnabled,
- required ChromeSetting spellingServiceEnabled,
- required ChromeSetting translationServiceEnabled,
Implementation
PrivacyServices({
/// If enabled, Chrome uses a web service to help resolve navigation errors.
/// This preference's value is a boolean, defaulting to `true`.
required ChromeSetting alternateErrorPagesEnabled,
/// If enabled, Chrome offers to automatically fill in forms. This
/// preference's value is a boolean, defaulting to `true`.
required ChromeSetting autofillEnabled,
/// If enabled, Chrome offers to automatically fill in addresses and other
/// form data. This preference's value is a boolean, defaulting to `true`.
required ChromeSetting autofillAddressEnabled,
/// If enabled, Chrome offers to automatically fill in credit card forms.
/// This preference's value is a boolean, defaulting to `true`.
required ChromeSetting autofillCreditCardEnabled,
/// If enabled, the password manager will ask if you want to save passwords.
/// This preference's value is a boolean, defaulting to `true`.
required ChromeSetting passwordSavingEnabled,
/// If enabled, Chrome does its best to protect you from phishing and
/// malware. This preference's value is a boolean, defaulting to `true`.
required ChromeSetting safeBrowsingEnabled,
/// If enabled, Chrome will send additional information to Google when
/// SafeBrowsing blocks a page, such as the content of the blocked page.
/// This preference's value is a boolean, defaulting to `false`.
required ChromeSetting safeBrowsingExtendedReportingEnabled,
/// If enabled, Chrome sends the text you type into the Omnibox to your
/// default search engine, which provides predictions of websites and
/// searches that are likely completions of what you've typed so far. This
/// preference's value is a boolean, defaulting to `true`.
required ChromeSetting searchSuggestEnabled,
/// If enabled, Chrome uses a web service to help correct spelling errors.
/// This preference's value is a boolean, defaulting to `false`.
required ChromeSetting spellingServiceEnabled,
/// If enabled, Chrome offers to translate pages that aren't in a language
/// you read. This preference's value is a boolean, defaulting to `true`.
required ChromeSetting translationServiceEnabled,
}) : _wrapped = $js.PrivacyServices(
alternateErrorPagesEnabled: alternateErrorPagesEnabled.toJS,
autofillEnabled: autofillEnabled.toJS,
autofillAddressEnabled: autofillAddressEnabled.toJS,
autofillCreditCardEnabled: autofillCreditCardEnabled.toJS,
passwordSavingEnabled: passwordSavingEnabled.toJS,
safeBrowsingEnabled: safeBrowsingEnabled.toJS,
safeBrowsingExtendedReportingEnabled:
safeBrowsingExtendedReportingEnabled.toJS,
searchSuggestEnabled: searchSuggestEnabled.toJS,
spellingServiceEnabled: spellingServiceEnabled.toJS,
translationServiceEnabled: translationServiceEnabled.toJS,
);