preferencesKeyPrefix property

String? preferencesKeyPrefix
final

The prefix for a shared preference key. The prefix is used to make sure the key is unique to your application. If not provided, a default prefix will be used.

WARNING: If you change this you can't retrieve already saved preferences.

Implementation

final String? preferencesKeyPrefix;