menu
shared_preferences package
documentation
util/legacy_to_async_migration_util.dart
util/legacy_to_async_migration_util.dart
dark_mode
light_mode
util/legacy_to_async_migration_util
library
Functions
migrateLegacySharedPreferencesToSharedPreferencesAsyncIfNecessary
(
{
required
SharedPreferences
legacySharedPreferencesInstance
,
required
SharedPreferencesOptions
sharedPreferencesAsyncOptions
,
required
String
migrationCompletedKey
})
→
Future
<
void
>
Migrates preferences from the legacy
SharedPreferences
system to
SharedPreferencesAsync
.
shared_preferences package
documentation
util/legacy_to_async_migration_util.dart
shared_preferences
package
Libraries
shared_preferences
util/legacy_to_async_migration_util
legacy_to_async_migration_util library
Functions
migrateLegacySharedPreferencesToSharedPreferencesAsyncIfNecessary