PrefService prefix does not apply
After examine resulting .plist
file of example project, I found that properties prefixed only by flutter.
(which if come from SharedPreferences
) but pref_
which is passed to PrefService.init
is not added.
After some investigation I found that the reason is building process of PreferencePageState
of PreferencePage
widget - prefix
static variable of PrefService
reinitialized by FutureBuilder
.